Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 114.7 kB / 17.09 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 198.1 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1961/0.1961, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 69.45 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01131/0.1168, allocations: 10.41 MB / 0.4987 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007803/0.1247, allocations: 3.877 MB / 0.5025 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.1262, allocations: 55.88 kB / 0.5025 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003856/0.13, allocations: 2.067 MB / 0.5046 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.1339, allocations: 1.716 MB / 0.5062 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1354, allocations: 0.694 MB / 0.5069 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004665/0.1401, allocations: 3.814 MB / 0.5106 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.1432, allocations: 2.59 MB / 0.5132 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.1451, allocations: 1.324 MB / 0.5145 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.1478, allocations: 1.85 MB / 0.5163 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007799/0.1486, allocations: 268 kB / 0.5165 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.151, allocations: 1.19 MB / 0.5177 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.1531, allocations: 1.687 MB / 0.5193 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002943/0.156, allocations: 1.91 MB / 0.5212 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007798/0.1639, allocations: 6.205 MB / 0.5273 GB, free: 3.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1639, allocations: 0 / 0.5273 GB, free: 3.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1639, allocations: 0 / 0.5273 GB, free: 3.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002274/0.1641, allocations: 0 / 0.5273 GB, free: 3.98 MB / 414.1 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.2297/0.3938, allocations: 4.227 MB / 0.5314 GB, free: 37.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3939, allocations: 12.61 kB / 0.5314 GB, free: 37.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.409, allocations: 2.428 MB / 0.5338 GB, free: 37.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/0.4142, allocations: 2.492 MB / 0.5362 GB, free: 36.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.4144, allocations: 194.1 kB / 0.5364 GB, free: 36.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006264/0.415, allocations: 274.7 kB / 0.5367 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.4276, allocations: 8.581 MB / 0.545 GB, free: 32.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.952e-05/0.4278, allocations: 41.39 kB / 0.5451 GB, free: 32.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.4281, allocations: 122.7 kB / 0.5452 GB, free: 32.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002806/0.4309, allocations: 1.741 MB / 0.5469 GB, free: 32.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.4438, allocations: 7.285 MB / 0.554 GB, free: 29.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/0.4734, allocations: 34.03 MB / 0.5872 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008103/0.4816, allocations: 3.483 MB / 0.5906 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.4837, allocations: 1.716 MB / 0.5923 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.494, allocations: 7.437 MB / 0.5996 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.4941, allocations: 51.5 kB / 0.5996 GB, free: 15.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 4.628e-06/0.4941, allocations: 4 kB / 0.5996 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.06109/0.5552, allocations: 19.63 MB / 0.6188 GB, free: 11.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.5553, allocations: 201.2 kB / 0.619 GB, free: 11.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005608/0.5609, allocations: 3.754 MB / 0.6227 GB, free: 7.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003873/0.5613, allocations: 49.7 kB / 0.6227 GB, free: 7.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.5633, allocations: 2.803 MB / 0.6254 GB, free: 4.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000877/0.5642, allocations: 0.7173 MB / 0.6261 GB, free: 3.879 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.5657, allocations: 1.206 MB / 0.6273 GB, free: 2.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5659, allocations: 301.1 kB / 0.6276 GB, free: 2.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/0.5689, allocations: 2.202 MB / 0.6298 GB, free: 160 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005588/0.5745, allocations: 5.766 MB / 0.6354 GB, free: 8.613 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009725/0.5842, allocations: 8.586 MB / 0.6438 GB, free: 14.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.98e-05/0.5843, allocations: 40 kB / 0.6438 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01693/0.6013, allocations: 9.177 MB / 0.6528 GB, free: 5.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.6014, allocations: 56 kB / 0.6528 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.6015, allocations: 127.9 kB / 0.6529 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005475/0.607, allocations: 1.664 MB / 0.6546 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/0.6111, allocations: 1.322 MB / 0.6559 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/0.6257, allocations: 9.914 MB / 0.6655 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004857/0.6306, allocations: 319.5 kB / 0.6658 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007375/0.6314, allocations: 364 kB / 0.6662 GB, free: 7.145 MB / 0.4981 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.003298/0.6347, allocations: 1.888 MB / 0.668 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/0.6353, allocations: 335.7 kB / 0.6684 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00939/0.6447, allocations: 4.133 MB / 0.6724 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/0.6448, allocations: 7.969 kB / 0.6724 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.6448, allocations: 4 kB / 0.6724 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.6461, allocations: 0.6255 MB / 0.673 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/0.6466, allocations: 28 kB / 0.673 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.648, allocations: 91.95 kB / 0.6731 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.6483, allocations: 129.1 kB / 0.6733 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009073/0.6574, allocations: 4.483 MB / 0.6776 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006935/0.6643, allocations: 5.339 MB / 0.6828 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001871/0.6662, allocations: 1.408 MB / 0.6842 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003492/0.6697, allocations: 2.332 MB / 0.6865 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of Backend: time 3.537e-06/0.6697, allocations: 0 / 0.6865 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009045/0.6788, allocations: 4.396 MB / 0.6908 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01438/0.6932, allocations: 8.458 MB / 0.6991 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of Templates: time 0.08151/0.7747, allocations: 47.13 MB / 0.7451 GB, free: 6.258 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches