Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 209.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 46.96 MB / 361.6 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3205, allocations: 66.03 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.01935/0.3398, allocations: 14.94 MB / 0.5764 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3518, allocations: 5.273 MB / 0.5816 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.3546, allocations: 139.2 kB / 0.5817 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008414/0.363, allocations: 4.244 MB / 0.5859 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007147/0.3701, allocations: 2.809 MB / 0.5886 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.3733, allocations: 1.462 MB / 0.59 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.3848, allocations: 8.66 MB / 0.5985 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006123/0.3909, allocations: 4.413 MB / 0.6028 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.3956, allocations: 2.695 MB / 0.6054 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005837/0.4014, allocations: 4.136 MB / 0.6095 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.4026, allocations: 0.5352 MB / 0.61 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.4057, allocations: 1.529 MB / 0.6115 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003725/0.4094, allocations: 3.413 MB / 0.6148 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00358/0.413, allocations: 2.742 MB / 0.6175 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.4264, allocations: 11.23 MB / 0.6285 GB, free: 15.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4264, allocations: 0 / 0.6285 GB, free: 15.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4264, allocations: 3.938 kB / 0.6285 GB, free: 15.69 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003324/0.4267, allocations: 0 / 0.6285 GB, free: 15.69 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02145/0.4481, allocations: 8.315 MB / 0.6366 GB, free: 7.293 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4482, allocations: 12.03 kB / 0.6366 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02872/0.4769, allocations: 3.713 MB / 0.6402 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/0.4924, allocations: 5.232 MB / 0.6453 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004704/0.4928, allocations: 365.8 kB / 0.6457 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/0.4951, allocations: 0.5154 MB / 0.6462 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03588/0.531, allocations: 16.47 MB / 0.6623 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002669/0.5313, allocations: 83.34 kB / 0.6623 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00084/0.5321, allocations: 239.8 kB / 0.6626 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005189/0.5373, allocations: 2.911 MB / 0.6654 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03174/0.569, allocations: 13.67 MB / 0.6788 GB, free: 10.85 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3624/0.9314, allocations: 59.67 MB / 0.737 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02198/0.9534, allocations: 7.058 MB / 0.7439 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004826/0.9582, allocations: 3.927 MB / 0.7478 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02677/0.985, allocations: 16.09 MB / 0.7635 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.985, allocations: 67.06 kB / 0.7635 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 6.272e-06/0.985, allocations: 0 / 0.7635 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=366): time 0.1761/1.161, allocations: 51.95 MB / 0.8143 GB, free: 82.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/1.161, allocations: 269.8 kB / 0.8145 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007591/1.169, allocations: 5.766 MB / 0.8202 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008708/1.17, allocations: 81.7 kB / 0.8202 GB, free: 76.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00252/1.172, allocations: 4.901 MB / 0.825 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.174, allocations: 1.411 MB / 0.8264 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002884/1.177, allocations: 1.91 MB / 0.8283 GB, free: 68.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.039e-05/1.177, allocations: 301.1 kB / 0.8286 GB, free: 67.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005228/1.182, allocations: 4.2 MB / 0.8327 GB, free: 63.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007474/1.189, allocations: 9.528 MB / 0.842 GB, free: 51.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/1.203, allocations: 14.58 MB / 0.8562 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001692/1.204, allocations: 52 kB / 0.8562 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03701/1.241, allocations: 17.45 MB / 0.8733 GB, free: 17.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/1.241, allocations: 86.28 kB / 0.8734 GB, free: 16.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002795/1.241, allocations: 180 kB / 0.8735 GB, free: 16.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01547/1.257, allocations: 4.593 MB / 0.878 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007233/1.264, allocations: 2.123 MB / 0.8801 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03959/1.303, allocations: 24.85 MB / 0.9044 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008021/1.311, allocations: 0.5306 MB / 0.9049 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/1.313, allocations: 0.5421 MB / 0.9054 GB, free: 15.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1127): * Single equations (assignments): 1122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007557/1.321, allocations: 3.109 MB / 0.9085 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001746/1.323, allocations: 0.5432 MB / 0.909 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02798/1.351, allocations: 10.62 MB / 0.9194 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.771e-05/1.351, allocations: 15.94 kB / 0.9194 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.351, allocations: 0 / 0.9194 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.353, allocations: 496.1 kB / 0.9198 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/1.354, allocations: 59.94 kB / 0.9199 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/1.358, allocations: 231.7 kB / 0.9201 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009725/1.359, allocations: 305.8 kB / 0.9204 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02673/1.386, allocations: 10.29 MB / 0.9305 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01907/1.405, allocations: 11.39 MB / 0.9416 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004925/1.41, allocations: 2.991 MB / 0.9445 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006561/1.416, allocations: 3.356 MB / 0.9478 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of Backend: time 4.51e-07/1.416, allocations: 0 / 0.9478 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01822/1.435, allocations: 7.403 MB / 0.955 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of SimCode: time 0.0298/1.464, allocations: 15.2 MB / 0.9699 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.3857/1.85, allocations: 98.95 MB / 1.066 GB, free: 157.8 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses2/ForceWithTwoMasses2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.112502682997729]