Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.002431/0.002431, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002759/0.002759, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.601/1.601, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4268/0.4268, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.53e-05, allocations: 4 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.02173/0.02176, allocations: 14.91 MB / 392.1 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.0351, allocations: 4.849 MB / 397 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.03839, allocations: 123.4 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.05024, allocations: 5.366 MB / 402.5 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008072/0.05831, allocations: 2.64 MB / 405.1 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.06153, allocations: 1.224 MB / 406.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.07387, allocations: 7.649 MB / 414 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00822/0.08209, allocations: 5.146 MB / 419.1 MB, free: 8.785 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007608/0.0897, allocations: 3.664 MB / 422.8 MB, free: 5.113 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00706/0.09676, allocations: 3.546 MB / 426.3 MB, free: 1.559 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.09844, allocations: 0.5156 MB / 426.8 MB, free: 1.043 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.1021, allocations: 1.362 MB / 428.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004375/0.1065, allocations: 3.218 MB / 431.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00417/0.1107, allocations: 1.978 MB / 433.4 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1737/0.2844, allocations: 10.51 MB / 443.9 MB, free: 66.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.2844, allocations: 0 / 443.9 MB, free: 66.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2844, allocations: 0 / 443.9 MB, free: 66.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004607/0.2849, allocations: 0 / 443.9 MB, free: 66.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01693/0.3018, allocations: 8.676 MB / 452.6 MB, free: 63.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3018, allocations: 12.58 kB / 452.6 MB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.3144, allocations: 3.377 MB / 456 MB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008812/0.3232, allocations: 3.837 MB / 459.8 MB, free: 61.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.3235, allocations: 358 kB / 460.2 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.3246, allocations: 480 kB / 460.6 MB, free: 61.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.3452, allocations: 9.789 MB / 470.4 MB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/0.3455, allocations: 68.98 kB / 470.5 MB, free: 57.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009173/0.3464, allocations: 226.2 kB / 470.7 MB, free: 57.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004472/0.3509, allocations: 2.744 MB / 473.5 MB, free: 57.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.3715, allocations: 5.554 MB / 479 MB, free: 56.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06972/0.4412, allocations: 67.33 MB / 0.5335 GB, free: 19.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01496/0.4562, allocations: 4.15 MB / 0.5376 GB, free: 17.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.4584, allocations: 1.197 MB / 0.5388 GB, free: 16.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/0.4699, allocations: 5.842 MB / 0.5445 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.4699, allocations: 70.42 kB / 0.5445 GB, free: 10.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 5.951e-06/0.4699, allocations: 0 / 0.5445 GB, free: 10.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=288): time 0.08648/0.5564, allocations: 24.47 MB / 0.5684 GB, free: 2.992 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.5566, allocations: 237.3 kB / 0.5687 GB, free: 2.711 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/0.5669, allocations: 6.26 MB / 0.5748 GB, free: 12.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006239/0.5675, allocations: 65.7 kB / 0.5748 GB, free: 12.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00508/0.5726, allocations: 5.082 MB / 0.5798 GB, free: 7.359 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002378/0.575, allocations: 1.247 MB / 0.581 GB, free: 6.125 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003733/0.5787, allocations: 2.249 MB / 0.5832 GB, free: 3.859 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002504/0.579, allocations: 476.8 kB / 0.5837 GB, free: 3.391 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/0.5821, allocations: 1.258 MB / 0.5849 GB, free: 2.129 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/0.5939, allocations: 8.979 MB / 0.5937 GB, free: 5.848 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/0.6131, allocations: 11.32 MB / 0.6047 GB, free: 7.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003084/0.6134, allocations: 48 kB / 0.6048 GB, free: 7.375 MB / 490.7 MB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.23/0.8433, allocations: 9.108 MB / 0.6136 GB, free: 143.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.8435, allocations: 81.77 kB / 0.6137 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002552/0.8437, allocations: 175.5 kB / 0.6139 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005656/0.8494, allocations: 1.493 MB / 0.6154 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006935/0.8563, allocations: 2.02 MB / 0.6173 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.8673, allocations: 7.908 MB / 0.625 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/0.8741, allocations: 0.5594 MB / 0.6256 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/0.8753, allocations: 0.5067 MB / 0.6261 GB, free: 139.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],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 (1058): * Single equations (assignments): 1051 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002808/0.8781, allocations: 0.9776 MB / 0.627 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.8792, allocations: 0.5679 MB / 0.6276 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009026/0.8883, allocations: 3.767 MB / 0.6313 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/0.8883, allocations: 31.62 kB / 0.6313 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.8883, allocations: 13.53 kB / 0.6313 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.8883, allocations: 16.36 kB / 0.6313 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02274/0.9111, allocations: 10.83 MB / 0.6419 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.9111, allocations: 7.344 kB / 0.6419 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/0.9135, allocations: 490.7 kB / 0.6424 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/0.9187, allocations: 1.262 MB / 0.6436 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003893/0.9191, allocations: 53.8 kB / 0.6437 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.9305, allocations: 7.473 MB / 0.651 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9305, allocations: 10.5 kB / 0.651 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.9429, allocations: 5.463 MB / 0.6563 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/0.9448, allocations: 491.2 kB / 0.6568 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008857/0.9457, allocations: 60.19 kB / 0.6568 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/0.9486, allocations: 259.9 kB / 0.6571 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000714/0.9493, allocations: 190.6 kB / 0.6573 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/0.9496, allocations: 72.52 kB / 0.6573 GB, free: 130.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004367/0.9539, allocations: 2.591 MB / 0.6599 GB, free: 130 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9539, allocations: 0 / 0.6599 GB, free: 130 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007741/0.9617, allocations: 1.744 MB / 0.6616 GB, free: 129.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005608/0.9622, allocations: 212 kB / 0.6618 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009377/0.9716, allocations: 5.506 MB / 0.6672 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9716, allocations: 3.281 kB / 0.6672 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004066/0.9757, allocations: 2.117 MB / 0.6692 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/0.9794, allocations: 0.616 MB / 0.6698 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/0.998, allocations: 11.97 MB / 0.6815 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/1.002, allocations: 3.7 MB / 0.6851 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004734/1.007, allocations: 2.228 MB / 0.6873 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.008, allocations: 344.4 kB / 0.6876 GB, free: 111.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/1.008, allocations: 0 / 0.6876 GB, free: 111.1 MB / 490.7 MB Notification: Performance of Templates: time 0.08504/1.093, allocations: 57.63 MB / 0.7439 GB, free: 54.11 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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: 8.293407727964222]