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.001436/0.001436, allocations: 179.8 kB / 17.06 MB, free: 5.094 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.233/1.233, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 93.78 kB / 292.2 MB, free: 10.92 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.2936/0.2936, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.315, allocations: 61.91 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4483, allocations: 112.3 MB / 0.6193 GB, free: 14.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4486, allocations: 75.97 kB / 0.6194 GB, free: 14.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7631/1.212, allocations: 222.4 MB / 0.8365 GB, free: 7.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.212, allocations: 0 / 0.8365 GB, free: 7.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001083/1.213, allocations: 239.9 kB / 0.8368 GB, free: 7.668 MB / 490.7 MB 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.04451/1.257, allocations: 12.5 MB / 0.849 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.257, allocations: 8.031 kB / 0.849 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05007/1.308, allocations: 12.6 MB / 0.8613 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03115/1.339, allocations: 12.27 MB / 0.8733 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009364/1.34, allocations: 0.8706 MB / 0.8741 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005417/1.345, allocations: 1.171 MB / 0.8752 GB, free: 16 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3721/1.717, allocations: 28.17 MB / 0.9028 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008986/1.718, allocations: 144 kB / 0.9029 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004624/1.723, allocations: 0.5433 MB / 0.9034 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/1.727, allocations: 2.573 MB / 0.9059 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04954/1.776, allocations: 22.88 MB / 0.9283 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1383/1.915, allocations: 120.2 MB / 1.046 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03966/1.954, allocations: 14.31 MB / 1.06 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03146/1.986, allocations: 17.76 MB / 1.077 GB, free: 13.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/1.986, allocations: 85.31 kB / 1.077 GB, free: 13.76 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 7.003e-06/1.986, allocations: 0 / 1.077 GB, free: 13.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.5367/2.523, allocations: 65.07 MB / 1.141 GB, free: 106.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/2.523, allocations: 376.5 kB / 1.141 GB, free: 106.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02597/2.549, allocations: 10.23 MB / 1.151 GB, free: 105.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002039/2.551, allocations: 113.5 kB / 1.151 GB, free: 105.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008325/2.559, allocations: 7.854 MB / 1.159 GB, free: 101.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003919/2.563, allocations: 2.053 MB / 1.161 GB, free: 100.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003059/2.567, allocations: 287.8 kB / 1.161 GB, free: 100.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00175/2.568, allocations: 0.8967 MB / 1.162 GB, free: 100.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/2.581, allocations: 5.875 MB / 1.168 GB, free: 100.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01512/2.596, allocations: 13.71 MB / 1.181 GB, free: 90.36 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01376/2.61, allocations: 8.784 MB / 1.19 GB, free: 87.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003649/2.61, allocations: 77.97 kB / 1.19 GB, free: 87.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.046/2.656, allocations: 22.35 MB / 1.212 GB, free: 80.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005793/2.657, allocations: 122.7 kB / 1.212 GB, free: 80.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005349/2.657, allocations: 279.9 kB / 1.212 GB, free: 80.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008366/2.666, allocations: 3.26 MB / 1.215 GB, free: 80.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/2.679, allocations: 3.37 MB / 1.218 GB, free: 79.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/2.704, allocations: 23.06 MB / 1.241 GB, free: 60.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/2.719, allocations: 0.8287 MB / 1.242 GB, free: 59.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00356/2.723, allocations: 0.8079 MB / 1.242 GB, free: 58.66 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 () * Number of clocked 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.01461/2.737, allocations: 5.282 MB / 1.248 GB, free: 54.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003412/2.741, allocations: 0.9988 MB / 1.249 GB, free: 53.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/2.767, allocations: 12.77 MB / 1.261 GB, free: 42.75 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.439e-05/2.767, allocations: 59.7 kB / 1.261 GB, free: 42.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-05/2.767, allocations: 20 kB / 1.261 GB, free: 42.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/2.767, allocations: 26.84 kB / 1.261 GB, free: 42.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05886/2.826, allocations: 28.95 MB / 1.289 GB, free: 19.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.384e-05/2.826, allocations: 12 kB / 1.289 GB, free: 19.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005941/2.832, allocations: 1.103 MB / 1.291 GB, free: 18.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006848/2.839, allocations: 2.824 MB / 1.293 GB, free: 16.64 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001161/2.84, allocations: 107.2 kB / 1.293 GB, free: 16.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3652/3.205, allocations: 21.65 MB / 1.315 GB, free: 96.93 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/3.205, allocations: 18.98 kB / 1.315 GB, free: 96.93 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03012/3.236, allocations: 22.88 MB / 1.337 GB, free: 92.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003929/3.239, allocations: 1.095 MB / 1.338 GB, free: 92.02 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002729/3.242, allocations: 108.9 kB / 1.338 GB, free: 92.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005722/3.248, allocations: 374.3 kB / 1.338 GB, free: 92.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/3.249, allocations: 362 kB / 1.339 GB, free: 92.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004917/3.25, allocations: 146 kB / 1.339 GB, free: 92.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01516/3.265, allocations: 7.398 MB / 1.346 GB, free: 91.73 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.61e-07/3.265, allocations: 7.562 kB / 1.346 GB, free: 91.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02115/3.286, allocations: 2.797 MB / 1.349 GB, free: 91.73 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 () * Number of clocked 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.001674/3.288, allocations: 283.5 kB / 1.349 GB, free: 91.64 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02242/3.31, allocations: 14.77 MB / 1.364 GB, free: 91.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/3.31, allocations: 2.469 kB / 1.364 GB, free: 91.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01057/3.321, allocations: 6.305 MB / 1.37 GB, free: 90.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01149/3.332, allocations: 1.333 MB / 1.371 GB, free: 90.32 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06715/3.4, allocations: 31.74 MB / 1.402 GB, free: 74.81 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01918/3.419, allocations: 8.173 MB / 1.41 GB, free: 72.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01672/3.436, allocations: 4.667 MB / 1.415 GB, free: 72.09 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004943/3.441, allocations: 0.6638 MB / 1.415 GB, free: 72.07 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/3.441, allocations: 0 / 1.415 GB, free: 72.07 MB / 0.573 GB Notification: Performance of Templates: time 0.5355/3.976, allocations: 107 MB / 1.52 GB, free: 114 MB / 0.5886 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