Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.0012, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001204/0.001204, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.03 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1138, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01676/0.1306, allocations: 15.7 MB / 485.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1413, allocations: 5.092 MB / 490.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.1443, allocations: 107.7 kB / 490.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009505/0.1539, allocations: 5.023 MB / 495.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006996/0.1609, allocations: 2.605 MB / 498.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.1642, allocations: 1.236 MB / 499.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.1753, allocations: 7.952 MB / 0.4957 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008569/0.1839, allocations: 6.049 MB / 0.5016 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2381/0.422, allocations: 2.564 MB / 0.5042 GB, free: 18.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006268/0.4283, allocations: 3.509 MB / 0.5076 GB, free: 18.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002768/0.4312, allocations: 0.5485 MB / 0.5081 GB, free: 18.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005003/0.4362, allocations: 1.579 MB / 0.5097 GB, free: 18.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005642/0.4418, allocations: 3.228 MB / 0.5128 GB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008825/0.4507, allocations: 3.594 MB / 0.5163 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.4654, allocations: 10.88 MB / 0.5269 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4654, allocations: 2.906 kB / 0.5269 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4654, allocations: 0 / 0.5269 GB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000435/0.4659, allocations: 3.031 kB / 0.5269 GB, free: 14.23 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02138/0.4873, allocations: 7.707 MB / 0.5345 GB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.4873, allocations: 11.31 kB / 0.5345 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/0.5034, allocations: 3.113 MB / 0.5375 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.5147, allocations: 4.882 MB / 0.5423 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.515, allocations: 371.6 kB / 0.5426 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/0.5172, allocations: 0.4939 MB / 0.5431 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.5464, allocations: 14.85 MB / 0.5576 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.5467, allocations: 76.31 kB / 0.5577 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007899/0.5475, allocations: 232 kB / 0.5579 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004856/0.5524, allocations: 2.724 MB / 0.5606 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02708/0.5795, allocations: 12.31 MB / 0.5726 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07858/0.6581, allocations: 57.39 MB / 0.6286 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.6713, allocations: 4.647 MB / 0.6332 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004493/0.6759, allocations: 2.903 MB / 0.636 GB, free: 5.734 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.6761, allocations: 37.86 kB / 0.6361 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.6762, allocations: 59.5 kB / 0.6361 GB, free: 5.648 MB / 478.1 MB Notification: Performance of pre-optimization done (n=186): time 6.252e-06/0.6762, allocations: 0 / 0.6361 GB, free: 5.648 MB / 478.1 MB Notification: Performance of matching and sorting (n=204): time 0.0761/0.7523, allocations: 23.3 MB / 0.6589 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.7525, allocations: 260.7 kB / 0.6591 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/0.7652, allocations: 6.732 MB / 0.6657 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006506/0.7659, allocations: 53.7 kB / 0.6657 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00374/0.7696, allocations: 4.614 MB / 0.6702 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/0.7711, allocations: 0.8163 MB / 0.671 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002614/0.7737, allocations: 1.691 MB / 0.6727 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7738, allocations: 305.1 kB / 0.673 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/0.7783, allocations: 2.905 MB / 0.6758 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008421/0.7867, allocations: 7.861 MB / 0.6835 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/0.8026, allocations: 11.53 MB / 0.6948 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001887/0.8028, allocations: 48 kB / 0.6948 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.327/1.13, allocations: 11.98 MB / 0.7065 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002265/1.13, allocations: 83.56 kB / 0.7066 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004716/1.131, allocations: 176.3 kB / 0.7067 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00793/1.139, allocations: 1.781 MB / 0.7085 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006964/1.146, allocations: 1.856 MB / 0.7103 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.16, allocations: 12.63 MB / 0.7226 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007995/1.168, allocations: 459 kB / 0.7231 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002221/1.17, allocations: 496.5 kB / 0.7235 GB, free: 167 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.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 (996): * Single equations (assignments): 990 * 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.007385/1.178, allocations: 3.049 MB / 0.7265 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.179, allocations: 0.5392 MB / 0.727 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009604/1.189, allocations: 4.862 MB / 0.7318 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.347e-05/1.189, allocations: 24 kB / 0.7318 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.373e-05/1.189, allocations: 13.5 kB / 0.7318 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/1.189, allocations: 10.22 kB / 0.7318 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/1.212, allocations: 11.27 MB / 0.7428 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.212, allocations: 1.062 kB / 0.7428 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.214, allocations: 324.3 kB / 0.7432 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/1.218, allocations: 1.496 MB / 0.7446 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003368/1.219, allocations: 34.67 kB / 0.7446 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.23, allocations: 11.7 MB / 0.7561 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.23, allocations: 4.062 kB / 0.7561 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.241, allocations: 7.955 MB / 0.7639 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.244, allocations: 0.615 MB / 0.7645 GB, free: 138 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.245, allocations: 34.3 kB / 0.7645 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.247, allocations: 148.7 kB / 0.7646 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/1.248, allocations: 117.2 kB / 0.7647 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.248, allocations: 57.31 kB / 0.7648 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006854/1.255, allocations: 4.285 MB / 0.769 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.273e-06/1.255, allocations: 0 / 0.769 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008888/1.263, allocations: 1.507 MB / 0.7704 GB, free: 131.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006464/1.264, allocations: 169 kB / 0.7706 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.276, allocations: 7.924 MB / 0.7783 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.276, allocations: 0 / 0.7783 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002847/1.279, allocations: 2.283 MB / 0.7806 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005085/1.284, allocations: 0.7873 MB / 0.7813 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02491/1.309, allocations: 14.63 MB / 0.7956 GB, free: 106 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005542/1.315, allocations: 4.626 MB / 0.8002 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.316, allocations: 407.3 kB / 0.8005 GB, free: 101 MB / 0.5294 GB Notification: Performance of SimCode: time 1.683e-06/1.316, allocations: 0 / 0.8005 GB, free: 101 MB / 0.5294 GB Notification: Performance of Templates: time 0.4374/1.753, allocations: 169.5 MB / 0.966 GB, free: 123.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches