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.001496/0.001496, allocations: 177.9 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008483/0.0008483, allocations: 91.42 kB / 281.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1869/0.1869, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.443e-05, allocations: 4 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5255, allocations: 111.6 MB / 0.6037 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5258, allocations: 75.97 kB / 0.6037 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7747/1.301, allocations: 217.1 MB / 0.8158 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/1.301, allocations: 0 / 0.8158 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000682/1.301, allocations: 247.3 kB / 0.816 GB, free: 62.57 MB / 0.4948 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.0332/1.334, allocations: 11.52 MB / 0.8273 GB, free: 50.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.335, allocations: 19.91 kB / 0.8273 GB, free: 50.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04753/1.382, allocations: 12.61 MB / 0.8396 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02828/1.41, allocations: 12.21 MB / 0.8515 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005543/1.411, allocations: 380 kB / 0.8519 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005058/1.416, allocations: 0.6795 MB / 0.8525 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02896/1.445, allocations: 15.89 MB / 0.868 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6395/2.085, allocations: 23.85 MB / 0.8913 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006817/2.085, allocations: 147.2 kB / 0.8915 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002869/2.088, allocations: 63.94 kB / 0.8915 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004123/2.092, allocations: 2.572 MB / 0.894 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/2.214, allocations: 114.7 MB / 1.006 GB, free: 16.66 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/2.225, allocations: 9.891 MB / 1.016 GB, free: 12 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008694/2.233, allocations: 6.863 MB / 1.022 GB, free: 9.164 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/2.235, allocations: 1.078 MB / 1.023 GB, free: 8.27 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/2.235, allocations: 83.66 kB / 1.024 GB, free: 8.195 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=448): time 8.095e-06/2.235, allocations: 2 kB / 1.024 GB, free: 8.195 MB / 0.5262 GB Notification: Performance of matching and sorting (n=535): time 0.119/2.354, allocations: 58.12 MB / 1.08 GB, free: 8.207 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/2.354, allocations: 371.3 kB / 1.081 GB, free: 7.773 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01534/2.37, allocations: 7.512 MB / 1.088 GB, free: 1.23 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00156/2.371, allocations: 25.7 kB / 1.088 GB, free: 1.199 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.007803/2.379, allocations: 8 MB / 1.096 GB, free: 10.07 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003584/2.383, allocations: 1.934 MB / 1.098 GB, free: 8.332 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/2.385, allocations: 0 / 1.098 GB, free: 8.332 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008517/2.385, allocations: 0.9095 MB / 1.099 GB, free: 7.586 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009057/2.394, allocations: 5.57 MB / 1.104 GB, free: 2.629 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3892/2.784, allocations: 14.41 MB / 1.118 GB, free: 126.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0169/2.801, allocations: 8.546 MB / 1.126 GB, free: 126.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006921/2.801, allocations: 82.06 kB / 1.127 GB, free: 126.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=1849) (initialization): time 0.04937/2.851, allocations: 20.35 MB / 1.146 GB, free: 125.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003201/2.851, allocations: 127.3 kB / 1.147 GB, free: 125.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000421/2.852, allocations: 278.6 kB / 1.147 GB, free: 125.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008054/2.86, allocations: 3.271 MB / 1.15 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/2.873, allocations: 3.43 MB / 1.153 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/2.897, allocations: 21.21 MB / 1.174 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01397/2.911, allocations: 0.5656 MB / 1.175 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004371/2.915, allocations: 0.8258 MB / 1.175 GB, free: 119.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1276 * 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 (1731): * Single equations (assignments): 1724 * 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%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006028/2.921, allocations: 0.8572 MB / 1.176 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/2.924, allocations: 0.8309 MB / 1.177 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0219/2.946, allocations: 11.94 MB / 1.189 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.645e-05/2.946, allocations: 57.72 kB / 1.189 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.063e-05/2.946, allocations: 18.59 kB / 1.189 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001164/2.946, allocations: 26.06 kB / 1.189 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04896/2.995, allocations: 25.27 MB / 1.213 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.986e-05/2.995, allocations: 11.39 kB / 1.214 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005259/3, allocations: 1.022 MB / 1.215 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006487/3.007, allocations: 2.784 MB / 1.217 GB, free: 105.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/3.008, allocations: 12 kB / 1.217 GB, free: 105.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/3.029, allocations: 19.62 MB / 1.236 GB, free: 88.09 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/3.029, allocations: 9.344 kB / 1.236 GB, free: 88.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02776/3.056, allocations: 19.58 MB / 1.256 GB, free: 71.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/3.059, allocations: 0.8158 MB / 1.256 GB, free: 70.35 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002768/3.062, allocations: 11.52 kB / 1.256 GB, free: 70.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004817/3.067, allocations: 291.3 kB / 1.257 GB, free: 70.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/3.068, allocations: 331.5 kB / 1.257 GB, free: 69.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003577/3.068, allocations: 136.4 kB / 1.257 GB, free: 69.86 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006935/3.075, allocations: 5.065 MB / 1.262 GB, free: 65.49 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/3.075, allocations: 0 / 1.262 GB, free: 65.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01381/3.089, allocations: 2.41 MB / 1.264 GB, free: 63.09 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 438 * 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%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009737/3.09, allocations: 181.3 kB / 1.265 GB, free: 62.91 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02225/3.112, allocations: 14.34 MB / 1.279 GB, free: 50.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/3.112, allocations: 0 / 1.279 GB, free: 50.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00947/3.121, allocations: 5.935 MB / 1.284 GB, free: 44.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007381/3.129, allocations: 0.992 MB / 1.285 GB, free: 43.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0461/3.175, allocations: 22.45 MB / 1.307 GB, free: 23.92 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/3.188, allocations: 8.183 MB / 1.315 GB, free: 15.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.3725/3.56, allocations: 4.557 MB / 1.32 GB, free: 109.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004512/3.565, allocations: 0.5773 MB / 1.32 GB, free: 109.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.673e-06/3.565, allocations: 0 / 1.32 GB, free: 109.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1947/3.76, allocations: 93.14 MB / 1.411 GB, free: 97.42 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