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.001085/0.001085, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001275/0.001275, allocations: 169.7 kB / 24.82 MB, free: 9.273 MB / 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 0.9834/0.9834, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2582/0.2582, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] 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.773e-06/1.773e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.099e-05, allocations: 7.234 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01536/0.01539, allocations: 14.62 MB / 393.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.02542, allocations: 4.831 MB / 398.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.02808, allocations: 127.4 kB / 398.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005836/0.03392, allocations: 5.284 MB / 404.1 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006033/0.03995, allocations: 2.655 MB / 406.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.04221, allocations: 1.224 MB / 408 MB, free: 4.953 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007899/0.05011, allocations: 7.66 MB / 415.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005829/0.05594, allocations: 5.154 MB / 420.8 MB, free: 8.043 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007849/0.06379, allocations: 4.706 MB / 425.5 MB, free: 3.328 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004941/0.06873, allocations: 3.449 MB / 429 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.07035, allocations: 0.5156 MB / 429.5 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.07297, allocations: 1.358 MB / 430.8 MB, free: 14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.07568, allocations: 3.195 MB / 434 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003086/0.07877, allocations: 1.978 MB / 436 MB, free: 8.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008514/0.08728, allocations: 6.699 MB / 442.7 MB, free: 2.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.08729, allocations: 3.938 kB / 442.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.08729, allocations: 4 kB / 442.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002476/0.08754, allocations: 0 / 442.7 MB, free: 2.078 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.159/0.2466, allocations: 7.712 MB / 450.4 MB, free: 94.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2466, allocations: 8.469 kB / 450.4 MB, free: 94.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/0.2521, allocations: 2.382 MB / 452.8 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.2575, allocations: 3.222 MB / 456 MB, free: 93.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.2578, allocations: 359.9 kB / 456.4 MB, free: 92.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007819/0.2586, allocations: 475.8 kB / 456.8 MB, free: 92.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.2689, allocations: 8.082 MB / 464.9 MB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.269, allocations: 63.19 kB / 465 MB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003374/0.2693, allocations: 231.1 kB / 465.2 MB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.271, allocations: 2.351 MB / 467.6 MB, free: 87.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00715/0.2782, allocations: 3.612 MB / 471.2 MB, free: 87.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0452/0.3234, allocations: 61.73 MB / 0.5204 GB, free: 35.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008331/0.3317, allocations: 2.877 MB / 0.5232 GB, free: 33.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.333, allocations: 0.7009 MB / 0.5239 GB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007004/0.34, allocations: 5.304 MB / 0.5291 GB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.34, allocations: 58.48 kB / 0.5291 GB, free: 28.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 4.298e-06/0.34, allocations: 0 / 0.5291 GB, free: 28.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.02137/0.3614, allocations: 9.285 MB / 0.5382 GB, free: 19.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3614, allocations: 227.1 kB / 0.5384 GB, free: 19.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004084/0.3655, allocations: 5.278 MB / 0.5436 GB, free: 13.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004655/0.366, allocations: 57.7 kB / 0.5436 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/0.368, allocations: 5.036 MB / 0.5486 GB, free: 8.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008939/0.3689, allocations: 0.8765 MB / 0.5494 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/0.3702, allocations: 1.904 MB / 0.5513 GB, free: 5.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.3703, allocations: 476.8 kB / 0.5517 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3714, allocations: 0.8013 MB / 0.5525 GB, free: 4.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/0.3763, allocations: 8.813 MB / 0.5611 GB, free: 8.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009243/0.3855, allocations: 10.48 MB / 0.5714 GB, free: 10.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001839/0.3857, allocations: 55.94 kB / 0.5714 GB, free: 10.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.01208/0.3978, allocations: 7.061 MB / 0.5783 GB, free: 3.016 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/0.3979, allocations: 92.95 kB / 0.5784 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/0.3981, allocations: 188 kB / 0.5786 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.3995, allocations: 0.6086 MB / 0.5792 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/0.4034, allocations: 1.915 MB / 0.581 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.4084, allocations: 5.368 MB / 0.5863 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004844/0.4133, allocations: 379.7 kB / 0.5866 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009332/0.4142, allocations: 456 kB / 0.5871 GB, free: 9.805 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * 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 (1064): * Single equations (assignments): 1057 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002293/0.4165, allocations: 0.8786 MB / 0.5879 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/0.4177, allocations: 0.5357 MB / 0.5885 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.4203, allocations: 1.548 MB / 0.59 GB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.4203, allocations: 28 kB / 0.59 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4203, allocations: 11.77 kB / 0.59 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.4203, allocations: 11.95 kB / 0.59 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.4311, allocations: 6.822 MB / 0.5967 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.4311, allocations: 8 kB / 0.5967 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.4318, allocations: 284.4 kB / 0.597 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.4329, allocations: 366.9 kB / 0.5973 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.4331, allocations: 47.92 kB / 0.5974 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.4368, allocations: 4.99 MB / 0.6022 GB, free: 9.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.4369, allocations: 11.94 kB / 0.6022 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.4411, allocations: 2.973 MB / 0.6051 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.4426, allocations: 476.5 kB / 0.6056 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004545/0.4431, allocations: 36 kB / 0.6056 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/0.444, allocations: 43.94 kB / 0.6057 GB, free: 6.164 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.4443, allocations: 136.8 kB / 0.6058 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.4443, allocations: 51.98 kB / 0.6059 GB, free: 5.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002605/0.4469, allocations: 2.114 MB / 0.6079 GB, free: 3.887 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4469, allocations: 0 / 0.6079 GB, free: 3.887 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006994/0.4539, allocations: 1.496 MB / 0.6094 GB, free: 2.391 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (164): * Single equations (assignments): 159 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004384/0.4544, allocations: 194.8 kB / 0.6096 GB, free: 2.191 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1537/0.6081, allocations: 3.984 MB / 0.6135 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/0.6081, allocations: 0.6875 kB / 0.6135 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.6094, allocations: 1.007 MB / 0.6144 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.6124, allocations: 0.6 MB / 0.615 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.6269, allocations: 10.96 MB / 0.6257 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.6285, allocations: 1.791 MB / 0.6275 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00195/0.6304, allocations: 0.6855 MB / 0.6282 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009616/0.6314, allocations: 0.7927 MB / 0.6289 GB, free: 129.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.064e-06/0.6314, allocations: 4 kB / 0.6289 GB, free: 129.6 MB / 474.7 MB Notification: Performance of Templates: time 0.06631/0.6977, allocations: 45.32 MB / 0.6732 GB, free: 111.2 MB / 474.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.808732190635055]