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.001559/0.001559, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001864/0.001864, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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.521/1.521, allocations: 230.3 MB / 257.9 MB, free: 8.234 MB / 206.1 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.2369/0.2369, allocations: 46.89 MB / 361.3 MB, free: 4.527 MB / 286.1 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 0.002324/0.002324, allocations: 83.84 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3539, allocations: 66.02 MB / 0.5615 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01954/0.3735, allocations: 15.62 MB / 0.5768 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.3866, allocations: 4.976 MB / 0.5817 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/0.3901, allocations: 119.4 kB / 0.5818 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.4009, allocations: 5.082 MB / 0.5867 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007713/0.4086, allocations: 2.552 MB / 0.5892 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.4117, allocations: 1.115 MB / 0.5903 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.4245, allocations: 6.893 MB / 0.597 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006823/0.4313, allocations: 4.176 MB / 0.6011 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005141/0.4365, allocations: 2.438 MB / 0.6035 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006748/0.4432, allocations: 3.477 MB / 0.6069 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.4453, allocations: 0.5039 MB / 0.6074 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.4493, allocations: 1.436 MB / 0.6088 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004044/0.4534, allocations: 3.058 MB / 0.6118 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006396/0.4598, allocations: 3.34 MB / 0.615 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.4758, allocations: 10.41 MB / 0.6252 GB, free: 3.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4759, allocations: 4 kB / 0.6252 GB, free: 3.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4759, allocations: 0 / 0.6252 GB, free: 3.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000414/0.4763, allocations: 0 / 0.6252 GB, free: 3.09 MB / 462.1 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.02252/0.4988, allocations: 7.522 MB / 0.6326 GB, free: 11.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.4988, allocations: 16.03 kB / 0.6326 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/0.5129, allocations: 2.75 MB / 0.6353 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.5242, allocations: 4.195 MB / 0.6394 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.5245, allocations: 357.5 kB / 0.6397 GB, free: 4.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/0.5259, allocations: 483.7 kB / 0.6402 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03008/0.556, allocations: 14.67 MB / 0.6545 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/0.5562, allocations: 79.39 kB / 0.6546 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009036/0.5571, allocations: 223.8 kB / 0.6548 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005435/0.5626, allocations: 2.746 MB / 0.6575 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02793/0.5905, allocations: 12.49 MB / 0.6697 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08542/0.6759, allocations: 57.94 MB / 0.7262 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02034/0.6962, allocations: 6.598 MB / 0.7327 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2576/0.9539, allocations: 3.571 MB / 0.7362 GB, free: 153 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.9672, allocations: 8.558 MB / 0.7445 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.9673, allocations: 68.88 kB / 0.7446 GB, free: 150 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 4.548e-06/0.9673, allocations: 0 / 0.7446 GB, free: 150 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.07785/1.045, allocations: 32.75 MB / 0.7766 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/1.045, allocations: 231.6 kB / 0.7768 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008241/1.053, allocations: 6.667 MB / 0.7833 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008844/1.054, allocations: 73.67 kB / 0.7834 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.056, allocations: 4.539 MB / 0.7878 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.058, allocations: 1.145 MB / 0.7889 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002071/1.06, allocations: 1.805 MB / 0.7907 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/1.06, allocations: 301.1 kB / 0.791 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004207/1.064, allocations: 3.614 MB / 0.7945 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005903/1.07, allocations: 8.617 MB / 0.8029 GB, free: 97.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.081, allocations: 13.16 MB / 0.8158 GB, free: 81.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/1.081, allocations: 51.94 kB / 0.8158 GB, free: 81.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02206/1.103, allocations: 14.04 MB / 0.8295 GB, free: 67.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/1.103, allocations: 80 kB / 0.8296 GB, free: 67.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/1.104, allocations: 176 kB / 0.8298 GB, free: 67.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/1.109, allocations: 2.257 MB / 0.832 GB, free: 65.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/1.116, allocations: 2.021 MB / 0.834 GB, free: 63.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/1.131, allocations: 14.01 MB / 0.8476 GB, free: 49.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006769/1.137, allocations: 0.5148 MB / 0.8481 GB, free: 48.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.139, allocations: 0.5077 MB / 0.8486 GB, free: 48.1 MB / 0.5606 GB 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.004786/1.143, allocations: 2.988 MB / 0.8515 GB, free: 45.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.144, allocations: 0.5781 MB / 0.8521 GB, free: 44.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.156, allocations: 7.196 MB / 0.8591 GB, free: 37.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/1.156, allocations: 28 kB / 0.8592 GB, free: 37.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.156, allocations: 12 kB / 0.8592 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-05/1.156, allocations: 15.89 kB / 0.8592 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.18, allocations: 14.92 MB / 0.8738 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/1.18, allocations: 4 kB / 0.8738 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/1.183, allocations: 495.2 kB / 0.8742 GB, free: 21.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005115/1.188, allocations: 2.018 MB / 0.8762 GB, free: 19.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004425/1.188, allocations: 63.5 kB / 0.8763 GB, free: 19.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/1.204, allocations: 13.38 MB / 0.8893 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.204, allocations: 4 kB / 0.8893 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.222, allocations: 11.5 MB / 0.9006 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.224, allocations: 0.5861 MB / 0.9011 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/1.226, allocations: 59.3 kB / 0.9012 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/1.229, allocations: 199.7 kB / 0.9014 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006829/1.23, allocations: 189.5 kB / 0.9016 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.23, allocations: 72 kB / 0.9016 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007786/1.238, allocations: 4.272 MB / 0.9058 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.238, allocations: 0 / 0.9058 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008387/1.246, allocations: 1.586 MB / 0.9074 GB, free: 3.496 MB / 0.5762 GB 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.0007204/1.247, allocations: 197.8 kB / 0.9075 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01722/1.264, allocations: 8.401 MB / 0.9157 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.264, allocations: 0 / 0.9157 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007088/1.271, allocations: 3.258 MB / 0.9189 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.276, allocations: 0.7235 MB / 0.9196 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.308, allocations: 15.23 MB / 0.9345 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008018/1.316, allocations: 4.531 MB / 0.9389 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007813/1.324, allocations: 2.794 MB / 0.9417 GB, free: 212 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.326, allocations: 379.4 kB / 0.942 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 1.463e-06/1.326, allocations: 0 / 0.942 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.389/1.715, allocations: 65.66 MB / 1.006 GB, free: 215.2 MB / 0.6544 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 9.042211707681417]