Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009232/0.0009231, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009262, allocations: 91.67 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1697/0.1697, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.937e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09707, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4366, allocations: 112.3 MB / 0.6113 GB, free: 9.016 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4369, allocations: 75.95 kB / 0.6114 GB, free: 8.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7059/1.143, allocations: 222.7 MB / 0.8288 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/1.143, allocations: 0 / 0.8288 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006452/1.143, allocations: 236 kB / 0.8291 GB, free: 77.18 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.03052/1.174, allocations: 11.54 MB / 0.8403 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.174, allocations: 8.031 kB / 0.8403 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04418/1.218, allocations: 12.62 MB / 0.8527 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02511/1.243, allocations: 12.2 MB / 0.8646 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005312/1.244, allocations: 0.8745 MB / 0.8654 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/1.248, allocations: 1.164 MB / 0.8666 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05283/1.3, allocations: 27.96 MB / 0.8939 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004823/1.301, allocations: 138.7 kB / 0.894 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/1.303, allocations: 0.5505 MB / 0.8946 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002858/1.306, allocations: 2.569 MB / 0.8971 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.325/1.631, allocations: 22.56 MB / 0.9191 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1191/1.75, allocations: 120.2 MB / 1.036 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03272/1.783, allocations: 13.83 MB / 1.05 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007916/1.791, allocations: 7.267 MB / 1.057 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02659/1.818, allocations: 17.8 MB / 1.074 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/1.818, allocations: 89.09 kB / 1.075 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=469): time 6.292e-06/1.818, allocations: 0 / 1.075 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=553): time 0.1428/1.961, allocations: 56.54 MB / 1.13 GB, free: 5.754 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/1.961, allocations: 368.1 kB / 1.13 GB, free: 5.328 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3169/2.278, allocations: 10.12 MB / 1.14 GB, free: 135.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/2.279, allocations: 110.3 kB / 1.14 GB, free: 135.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005633/2.285, allocations: 7.854 MB / 1.148 GB, free: 133.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002757/2.287, allocations: 2.057 MB / 1.15 GB, free: 132 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/2.289, allocations: 279.8 kB / 1.15 GB, free: 132 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0007336/2.29, allocations: 0.8939 MB / 1.151 GB, free: 131.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009316/2.299, allocations: 5.775 MB / 1.157 GB, free: 131.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/2.313, allocations: 13.6 MB / 1.17 GB, free: 121.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/2.327, allocations: 8.764 MB / 1.178 GB, free: 121.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004656/2.328, allocations: 76.88 kB / 1.178 GB, free: 121.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.0412/2.369, allocations: 22.15 MB / 1.2 GB, free: 118.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005946/2.369, allocations: 121.9 kB / 1.2 GB, free: 118.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007319/2.37, allocations: 276.6 kB / 1.2 GB, free: 118.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007902/2.378, allocations: 3.253 MB / 1.204 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/2.39, allocations: 3.364 MB / 1.207 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/2.414, allocations: 22.41 MB / 1.229 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/2.427, allocations: 0.8243 MB / 1.23 GB, free: 104.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00339/2.43, allocations: 0.8101 MB / 1.23 GB, free: 104.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1698): * Single equations (assignments): 1691 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004967/2.435, allocations: 1.19 MB / 1.232 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002791/2.438, allocations: 1.005 MB / 1.233 GB, free: 103.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0211/2.459, allocations: 12.68 MB / 1.245 GB, free: 98.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.847e-05/2.459, allocations: 59.47 kB / 1.245 GB, free: 98.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.733e-05/2.459, allocations: 14.81 kB / 1.245 GB, free: 98.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/2.46, allocations: 31.83 kB / 1.245 GB, free: 98.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05217/2.512, allocations: 28.84 MB / 1.273 GB, free: 76.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.921e-05/2.512, allocations: 8 kB / 1.273 GB, free: 76.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005456/2.517, allocations: 1.108 MB / 1.274 GB, free: 75.42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006505/2.524, allocations: 2.814 MB / 1.277 GB, free: 73.45 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/2.525, allocations: 108 kB / 1.277 GB, free: 73.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02234/2.547, allocations: 21.01 MB / 1.298 GB, free: 54.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/2.547, allocations: 15.94 kB / 1.298 GB, free: 54.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/2.576, allocations: 22.74 MB / 1.32 GB, free: 33.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003413/2.58, allocations: 1.09 MB / 1.321 GB, free: 32.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002873/2.583, allocations: 102.9 kB / 1.321 GB, free: 32.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005623/2.588, allocations: 378.4 kB / 1.321 GB, free: 32.32 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/2.59, allocations: 358.8 kB / 1.322 GB, free: 32.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004168/2.59, allocations: 143.7 kB / 1.322 GB, free: 31.96 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01141/2.602, allocations: 7.287 MB / 1.329 GB, free: 25.59 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.433e-06/2.602, allocations: 0 / 1.329 GB, free: 25.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01429/2.616, allocations: 2.809 MB / 1.332 GB, free: 22.79 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/2.617, allocations: 279.6 kB / 1.332 GB, free: 22.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3238/2.941, allocations: 14.58 MB / 1.346 GB, free: 116.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/2.941, allocations: 1.344 kB / 1.346 GB, free: 116.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/2.952, allocations: 6.233 MB / 1.352 GB, free: 116.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008152/2.96, allocations: 1.331 MB / 1.354 GB, free: 116.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04724/3.008, allocations: 23.24 MB / 1.376 GB, free: 111.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01598/3.024, allocations: 8.168 MB / 1.384 GB, free: 110.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0139/3.038, allocations: 4.667 MB / 1.389 GB, free: 110.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003193/3.041, allocations: 0.6632 MB / 1.39 GB, free: 110.6 MB / 0.573 GB Notification: Performance of SimCode: time 7.82e-07/3.041, allocations: 0 / 1.39 GB, free: 110.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1786/3.219, allocations: 107 MB / 1.494 GB, free: 52.84 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches