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.00111/0.00111, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.001247/0.001247, allocations: 161.9 kB / 24.99 MB, free: 8.246 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.9757/0.9757, allocations: 177 MB / 205.2 MB, free: 5.574 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.3152/0.3152, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.395e-05, allocations: 2.312 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0125/0.01252, allocations: 14.94 MB / 393.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0085/0.02102, allocations: 4.862 MB / 398.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.02256, allocations: 123.4 kB / 398.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005257/0.02782, allocations: 5.354 MB / 404 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.03195, allocations: 2.643 MB / 406.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.03351, allocations: 1.232 MB / 407.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005686/0.0392, allocations: 7.652 MB / 415.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003838/0.04304, allocations: 5.142 MB / 420.7 MB, free: 8.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/0.04797, allocations: 3.664 MB / 424.4 MB, free: 4.559 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004748/0.05272, allocations: 3.542 MB / 427.9 MB, free: 1.008 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.05391, allocations: 0.5195 MB / 428.4 MB, free: 500 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.05589, allocations: 1.362 MB / 429.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.05786, allocations: 3.222 MB / 433 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.05976, allocations: 1.978 MB / 435 MB, free: 9.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.06582, allocations: 6.722 MB / 441.7 MB, free: 3.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.06583, allocations: 3.938 kB / 441.7 MB, free: 3.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.06583, allocations: 4 kB / 441.7 MB, free: 3.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002014/0.06603, allocations: 0 / 441.7 MB, free: 3.156 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.1602/0.2262, allocations: 8.025 MB / 449.7 MB, free: 99.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.2263, allocations: 14.03 kB / 449.8 MB, free: 99.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008725/0.235, allocations: 3.377 MB / 453.1 MB, free: 99.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007612/0.2426, allocations: 3.789 MB / 456.9 MB, free: 97.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.2429, allocations: 362 kB / 457.3 MB, free: 97.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.2441, allocations: 474.4 kB / 457.7 MB, free: 97.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.2614, allocations: 9.165 MB / 466.9 MB, free: 92.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.2616, allocations: 56.02 kB / 467 MB, free: 92.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005355/0.2621, allocations: 226.8 kB / 467.2 MB, free: 92.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003301/0.2654, allocations: 2.744 MB / 469.9 MB, free: 91.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.2788, allocations: 5.191 MB / 475.1 MB, free: 90.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04397/0.3228, allocations: 61.96 MB / 0.5245 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009232/0.332, allocations: 4.012 MB / 0.5284 GB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.3343, allocations: 1.175 MB / 0.5296 GB, free: 29.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008013/0.3423, allocations: 5.734 MB / 0.5352 GB, free: 24.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.3424, allocations: 68.2 kB / 0.5352 GB, free: 24.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 5.009e-06/0.3424, allocations: 0 / 0.5352 GB, free: 24.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=288): time 0.0446/0.387, allocations: 24.13 MB / 0.5588 GB, free: 15.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3871, allocations: 243.5 kB / 0.559 GB, free: 15.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/0.3925, allocations: 5.027 MB / 0.5639 GB, free: 10.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005676/0.393, allocations: 69.7 kB / 0.564 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002724/0.3957, allocations: 4.779 MB / 0.5687 GB, free: 5.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/0.397, allocations: 1.19 MB / 0.5698 GB, free: 4.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001855/0.3989, allocations: 1.914 MB / 0.5717 GB, free: 2.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003542/0.3992, allocations: 476.8 kB / 0.5721 GB, free: 1.969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.4012, allocations: 1.141 MB / 0.5733 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006159/0.4073, allocations: 8.589 MB / 0.5816 GB, free: 4.844 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.4177, allocations: 10.69 MB / 0.5921 GB, free: 6.793 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002027/0.4179, allocations: 48 kB / 0.5921 GB, free: 6.746 MB / 458.7 MB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.1739/0.5918, allocations: 8.869 MB / 0.6008 GB, free: 119.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.592, allocations: 81.06 kB / 0.6009 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003069/0.5923, allocations: 176.2 kB / 0.601 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003776/0.5961, allocations: 1.468 MB / 0.6025 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004887/0.6009, allocations: 2.015 MB / 0.6044 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/0.6082, allocations: 7.581 MB / 0.6118 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/0.613, allocations: 0.562 MB / 0.6124 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/0.614, allocations: 0.5118 MB / 0.6129 GB, free: 115.2 MB / 458.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.00244/0.6165, allocations: 0.8692 MB / 0.6137 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.6175, allocations: 0.5678 MB / 0.6143 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005821/0.6233, allocations: 3.634 MB / 0.6178 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/0.6234, allocations: 30.81 kB / 0.6179 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/0.6234, allocations: 13.44 kB / 0.6179 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.6234, allocations: 13.45 kB / 0.6179 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.6411, allocations: 9.31 MB / 0.627 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.6411, allocations: 3.938 kB / 0.627 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.6427, allocations: 0.4905 MB / 0.6275 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/0.6457, allocations: 1.235 MB / 0.6287 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003689/0.6461, allocations: 56.47 kB / 0.6287 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/0.6534, allocations: 7.154 MB / 0.6357 GB, free: 108 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.6535, allocations: 19 kB / 0.6357 GB, free: 108 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009111/0.6626, allocations: 5.134 MB / 0.6407 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.6637, allocations: 487.1 kB / 0.6412 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.6642, allocations: 56.75 kB / 0.6413 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.6657, allocations: 259 kB / 0.6415 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000498/0.6662, allocations: 189.8 kB / 0.6417 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.6664, allocations: 78.17 kB / 0.6418 GB, free: 106.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003526/0.6699, allocations: 2.179 MB / 0.6439 GB, free: 105.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.6699, allocations: 3.719 kB / 0.6439 GB, free: 105.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006782/0.6767, allocations: 1.742 MB / 0.6456 GB, free: 105.3 MB / 458.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.000712/0.6774, allocations: 213.4 kB / 0.6458 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008756/0.6862, allocations: 5.011 MB / 0.6507 GB, free: 103.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.6862, allocations: 0 / 0.6507 GB, free: 103.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003149/0.6893, allocations: 1.985 MB / 0.6526 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.6933, allocations: 0.6228 MB / 0.6532 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.7093, allocations: 11.83 MB / 0.6648 GB, free: 91.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.7109, allocations: 1.862 MB / 0.6666 GB, free: 89.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003585/0.7145, allocations: 2.234 MB / 0.6688 GB, free: 87.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009487/0.7154, allocations: 340.4 kB / 0.6691 GB, free: 87.54 MB / 458.7 MB Notification: Performance of SimCode: time 3.336e-06/0.7154, allocations: 1.969 kB / 0.6691 GB, free: 87.54 MB / 458.7 MB Notification: Performance of Templates: time 0.06915/0.7846, allocations: 57.68 MB / 0.7255 GB, free: 30.48 MB / 458.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: 5.205594761995599]