Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.14 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.09999, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003324/0.1034, allocations: 2.107 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003543/0.1037, allocations: 171.3 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.1038, allocations: 4 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.104, allocations: 23.73 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.1041, allocations: 47.56 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.1042, allocations: 43.95 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.1045, allocations: 183.2 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1046, allocations: 58.27 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.1047, allocations: 75.66 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1048, allocations: 67.69 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.1049, allocations: 16 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.5e-05/0.1049, allocations: 12 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.1049, allocations: 31.86 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.105, allocations: 83.59 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1052, allocations: 183.3 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1052, allocations: 0 / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1052, allocations: 0 / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1053, allocations: 3.938 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006055/0.1059, allocations: 466.8 kB / 362.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1059, allocations: 8.031 kB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.106, allocations: 16.75 kB / 362.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1062, allocations: 224 kB / 362.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1063, allocations: 12.16 kB / 362.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1063, allocations: 24.28 kB / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1066, allocations: 186.5 kB / 362.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1066, allocations: 3.938 kB / 362.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1066, allocations: 8 kB / 362.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1066, allocations: 7.938 kB / 362.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1068, allocations: 107.2 kB / 363 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.108, allocations: 0.9468 MB / 364 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1081, allocations: 107.8 kB / 364.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1082, allocations: 38.66 kB / 364.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1082, allocations: 4 kB / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1082, allocations: 38.5 kB / 364.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1082, allocations: 0 / 364.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002919/0.1085, allocations: 125.4 kB / 364.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1086, allocations: 106.8 kB / 364.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1088, allocations: 203.8 kB / 364.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1088, allocations: 29.7 kB / 364.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.1089, allocations: 143.8 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1089, allocations: 55.28 kB / 364.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.109, allocations: 45.94 kB / 364.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1091, allocations: 330.8 kB / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.1092, allocations: 40.45 kB / 365.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1094, allocations: 136.3 kB / 365.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.1096, allocations: 205.5 kB / 365.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1096, allocations: 0 / 365.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002906/0.1099, allocations: 217.7 kB / 365.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1099, allocations: 4 kB / 365.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1099, allocations: 4 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.11, allocations: 8.141 kB / 365.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1101, allocations: 43.92 kB / 365.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1101, allocations: 4.406 kB / 365.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1102, allocations: 51.48 kB / 365.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1103, allocations: 8 kB / 365.9 MB, free: 5.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/0.1104, allocations: 137.7 kB / 366 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.1104, allocations: 19.72 kB / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.1105, allocations: 24.94 kB / 366.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1105, allocations: 0 / 366.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1105, allocations: 0 / 366.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1105, allocations: 11.92 kB / 366.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.1109, allocations: 229.6 kB / 366.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1109, allocations: 4 kB / 366.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.1111, allocations: 27.98 kB / 366.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1111, allocations: 0 / 366.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1111, allocations: 7.984 kB / 366.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1111, allocations: 4 kB / 366.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1111, allocations: 0 / 366.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1114, allocations: 397.6 kB / 366.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.1115, allocations: 100.8 kB / 366.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1115, allocations: 0 / 366.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1117, allocations: 4.062 kB / 366.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.1117, allocations: 11.92 kB / 366.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1117, allocations: 4 kB / 366.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1118, allocations: 149.5 kB / 367 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1119, allocations: 0 / 367 MB, free: 4.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000367/0.1122, allocations: 43.94 kB / 367 MB, free: 4.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001001/0.1123, allocations: 107.2 kB / 367.1 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1125, allocations: 107.8 kB / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1126, allocations: 4 kB / 367.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.1126, allocations: 36.73 kB / 367.3 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.1131, allocations: 30.39 kB / 367.3 MB, free: 4.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.114, allocations: 0.6335 MB / 367.9 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1143, allocations: 0.7203 MB / 368.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.1144, allocations: 21.94 kB / 368.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1144, allocations: 19.44 kB / 368.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1144, allocations: 0 / 368.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of Templates: time 0.0038/0.1182, allocations: 1.322 MB / 370 MB, free: 1.621 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches