Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2312/0.2312, allocations: 46.9 MB / 361.1 MB, free: 4.617 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-beta.om/package.mo) 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(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 75.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3407, allocations: 66 MB / 0.5612 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01928/0.3599, allocations: 15.49 MB / 0.5764 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.3709, allocations: 5.104 MB / 0.5813 GB, free: 308 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.3735, allocations: 107.7 kB / 0.5814 GB, free: 200 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00995/0.3834, allocations: 5.062 MB / 0.5864 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006773/0.3902, allocations: 2.587 MB / 0.5889 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.3932, allocations: 1.244 MB / 0.5901 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.4049, allocations: 7.964 MB / 0.5979 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007337/0.4123, allocations: 4.351 MB / 0.6022 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.4172, allocations: 2.531 MB / 0.6046 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006588/0.4238, allocations: 3.715 MB / 0.6083 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001797/0.4256, allocations: 0.5352 MB / 0.6088 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.4296, allocations: 1.596 MB / 0.6103 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004561/0.4342, allocations: 3.222 MB / 0.6135 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006051/0.4402, allocations: 3.476 MB / 0.6169 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.4539, allocations: 10.87 MB / 0.6275 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4539, allocations: 0 / 0.6275 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4539, allocations: 0 / 0.6275 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003029/0.4542, allocations: 0 / 0.6275 GB, free: 0.8125 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.0213/0.4755, allocations: 7.726 MB / 0.635 GB, free: 8.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.4756, allocations: 8.031 kB / 0.635 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.4915, allocations: 3.109 MB / 0.6381 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.5042, allocations: 4.847 MB / 0.6428 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.5045, allocations: 361.7 kB / 0.6432 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.5063, allocations: 499.8 kB / 0.6436 GB, free: 96 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02705/0.5334, allocations: 14.28 MB / 0.6576 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.5336, allocations: 75.39 kB / 0.6577 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007134/0.5343, allocations: 231.8 kB / 0.6579 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004433/0.5387, allocations: 2.539 MB / 0.6604 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02461/0.5634, allocations: 11.83 MB / 0.6719 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08586/0.6492, allocations: 55.98 MB / 0.7266 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/0.6626, allocations: 4.506 MB / 0.731 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004473/0.667, allocations: 2.702 MB / 0.7336 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.6672, allocations: 37.62 kB / 0.7337 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/0.6673, allocations: 63.44 kB / 0.7337 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 5.751e-06/0.6673, allocations: 0 / 0.7337 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.3329/1, allocations: 23.5 MB / 0.7567 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/1, allocations: 266.1 kB / 0.7569 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008054/1.008, allocations: 6.682 MB / 0.7635 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005017/1.009, allocations: 57.7 kB / 0.7635 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002127/1.011, allocations: 4.659 MB / 0.7681 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009023/1.012, allocations: 0.8446 MB / 0.7689 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/1.014, allocations: 1.682 MB / 0.7705 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/1.014, allocations: 308.9 kB / 0.7708 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003175/1.017, allocations: 2.889 MB / 0.7736 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004691/1.022, allocations: 7.795 MB / 0.7813 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009137/1.031, allocations: 11.42 MB / 0.7924 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/1.031, allocations: 52 kB / 0.7925 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.01879/1.05, allocations: 11.92 MB / 0.8041 GB, free: 93.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.464e-05/1.05, allocations: 83.94 kB / 0.8042 GB, free: 93.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/1.05, allocations: 172 kB / 0.8043 GB, free: 93.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003786/1.054, allocations: 1.769 MB / 0.8061 GB, free: 91.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005031/1.059, allocations: 1.84 MB / 0.8079 GB, free: 89.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.07, allocations: 12.63 MB / 0.8202 GB, free: 76.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/1.077, allocations: 455.7 kB / 0.8206 GB, free: 76.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.078, allocations: 496 kB / 0.8211 GB, free: 75.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (987): * Single equations (assignments): 981 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004116/1.082, allocations: 2.964 MB / 0.824 GB, free: 73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009747/1.083, allocations: 0.5704 MB / 0.8246 GB, free: 72.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00703/1.09, allocations: 4.834 MB / 0.8293 GB, free: 67.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.09, allocations: 11.97 kB / 0.8293 GB, free: 67.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/1.09, allocations: 15.92 kB / 0.8293 GB, free: 67.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.091, allocations: 0.6338 MB / 0.8299 GB, free: 66.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006999/1.092, allocations: 32 kB / 0.83 GB, free: 66.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.094, allocations: 143.5 kB / 0.8301 GB, free: 66.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/1.094, allocations: 153.1 kB / 0.8302 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007993/1.102, allocations: 5.323 MB / 0.8354 GB, free: 61.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006265/1.109, allocations: 6.558 MB / 0.8418 GB, free: 54.68 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001507/1.11, allocations: 1.575 MB / 0.8434 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005057/1.115, allocations: 4.257 MB / 0.8475 GB, free: 48.87 MB / 0.5606 GB Notification: Performance of Backend: time 2.6e-07/1.115, allocations: 0 / 0.8475 GB, free: 48.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009205/1.124, allocations: 5.591 MB / 0.853 GB, free: 43.29 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01921/1.144, allocations: 14.1 MB / 0.8668 GB, free: 29.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.1208/1.264, allocations: 68.69 MB / 0.9338 GB, free: 8.777 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.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: 7.781154159922153]