Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 170.4 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009525/0.0009529, allocations: 78.81 kB / 270.8 MB, free: 8.137 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3407/0.3407, allocations: 43.67 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003909, allocations: 8 kB / 432.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2282/0.352, allocations: 31.62 MB / 0.5105 GB, free: 27.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.3703, allocations: 10.78 MB / 0.5211 GB, free: 19.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008186/0.3786, allocations: 152.9 kB / 0.5212 GB, free: 19.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.3803, allocations: 376.2 kB / 0.5216 GB, free: 19.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.3858, allocations: 1.596 MB / 0.5231 GB, free: 18.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3876, allocations: 0.6377 MB / 0.5237 GB, free: 18.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005589/0.3932, allocations: 5.458 MB / 0.5291 GB, free: 16.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.3971, allocations: 3.833 MB / 0.5328 GB, free: 14.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.3989, allocations: 1.155 MB / 0.5339 GB, free: 14.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.4007, allocations: 1.799 MB / 0.5357 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.401, allocations: 124.3 kB / 0.5358 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.4028, allocations: 1.084 MB / 0.5369 GB, free: 13.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.4039, allocations: 1.511 MB / 0.5384 GB, free: 12.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.4052, allocations: 1.76 MB / 0.5401 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007332/0.4125, allocations: 5.781 MB / 0.5457 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4126, allocations: 0 / 0.5457 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.4126, allocations: 1.531 kB / 0.5457 GB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002121/0.4128, allocations: 7.938 kB / 0.5457 GB, free: 10.01 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.008899/0.4217, allocations: 3.485 MB / 0.5491 GB, free: 7.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4218, allocations: 9.156 kB / 0.5491 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.437, allocations: 2.494 MB / 0.5516 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005954/0.443, allocations: 2.449 MB / 0.554 GB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.4432, allocations: 194.7 kB / 0.5541 GB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.4443, allocations: 282.6 kB / 0.5544 GB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.46, allocations: 8.574 MB / 0.5628 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.4602, allocations: 47.58 kB / 0.5628 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.4606, allocations: 123.9 kB / 0.563 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002782/0.4634, allocations: 1.739 MB / 0.5647 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.4779, allocations: 7.268 MB / 0.5718 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04183/0.5198, allocations: 34.21 MB / 0.6052 GB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008539/0.5283, allocations: 3.517 MB / 0.6086 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.5307, allocations: 1.713 MB / 0.6103 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.5419, allocations: 7.42 MB / 0.6175 GB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.542, allocations: 55.56 kB / 0.6176 GB, free: 5.211 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 3.647e-06/0.542, allocations: 0 / 0.6176 GB, free: 5.211 MB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.0619/0.6039, allocations: 19.97 MB / 0.6371 GB, free: 1.074 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.6041, allocations: 205.2 kB / 0.6373 GB, free: 0.832 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.6093, allocations: 3.719 MB / 0.6409 GB, free: 13.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003278/0.6097, allocations: 53.7 kB / 0.6409 GB, free: 13.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.6116, allocations: 2.803 MB / 0.6437 GB, free: 10.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000699/0.6123, allocations: 0.7134 MB / 0.6444 GB, free: 9.496 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.6125, allocations: 124 kB / 0.6445 GB, free: 9.375 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003364/0.6129, allocations: 0.5581 MB / 0.645 GB, free: 8.809 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003352/0.6162, allocations: 2.178 MB / 0.6472 GB, free: 6.625 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00554/0.6218, allocations: 5.747 MB / 0.6528 GB, free: 15.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009664/0.6315, allocations: 8.563 MB / 0.6611 GB, free: 4.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-05/0.6315, allocations: 36 kB / 0.6612 GB, free: 4.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01783/0.6494, allocations: 9.158 MB / 0.6701 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.6495, allocations: 56 kB / 0.6702 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/0.6497, allocations: 128 kB / 0.6703 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.6553, allocations: 1.696 MB / 0.6719 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/0.6597, allocations: 1.322 MB / 0.6732 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2904/0.95, allocations: 9.296 MB / 0.6823 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007594/0.9577, allocations: 310.7 kB / 0.6826 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002147/0.9599, allocations: 365 kB / 0.683 GB, free: 148.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008777/0.9687, allocations: 1.902 MB / 0.6848 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/0.9702, allocations: 329.8 kB / 0.6851 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/0.9861, allocations: 4.164 MB / 0.6892 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.814e-05/0.9862, allocations: 24.47 kB / 0.6892 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-05/0.9863, allocations: 5.875 kB / 0.6892 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/0.9863, allocations: 9.328 kB / 0.6892 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03046/1.017, allocations: 8.574 MB / 0.6976 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/1.017, allocations: 0 / 0.6976 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/1.019, allocations: 250.2 kB / 0.6978 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007352/1.026, allocations: 1.458 MB / 0.6993 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005174/1.027, allocations: 33.23 kB / 0.6993 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/1.045, allocations: 8.608 MB / 0.7077 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.045, allocations: 2.719 kB / 0.7077 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02042/1.066, allocations: 6.745 MB / 0.7143 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.069, allocations: 0.6296 MB / 0.7149 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/1.07, allocations: 31.2 kB / 0.7149 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/1.074, allocations: 91.44 kB / 0.715 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008026/1.075, allocations: 114.6 kB / 0.7151 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/1.075, allocations: 54.81 kB / 0.7152 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009433/1.084, allocations: 2.303 MB / 0.7174 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.72e-07/1.084, allocations: 0 / 0.7174 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0116/1.096, allocations: 0.9968 MB / 0.7184 GB, free: 138.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/1.097, allocations: 162.6 kB / 0.7186 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01492/1.112, allocations: 5.38 MB / 0.7238 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.112, allocations: 3.938 kB / 0.7238 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004432/1.117, allocations: 1.8 MB / 0.7256 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006619/1.123, allocations: 371 kB / 0.7259 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/1.15, allocations: 10.45 MB / 0.7361 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006356/1.156, allocations: 2.972 MB / 0.739 GB, free: 129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007544/1.164, allocations: 1.813 MB / 0.7408 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009604/1.165, allocations: 225.6 kB / 0.741 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.393e-06/1.165, allocations: 4 kB / 0.741 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.1029/1.268, allocations: 37.22 MB / 0.7774 GB, free: 92.65 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches