Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.0009221/0.0009221, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008889/0.0008889, allocations: 160.2 kB / 24.91 MB, free: 8.723 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.9551/0.9551, allocations: 177 MB / 205.2 MB, free: 5.449 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.2816/0.2816, allocations: 34.87 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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.227e-05, allocations: 2.312 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01416/0.01419, allocations: 11.96 MB / 337.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.02465, allocations: 4.566 MB / 342.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.02645, allocations: 99.5 kB / 342.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005864/0.03232, allocations: 3.987 MB / 346.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.03753, allocations: 2.345 MB / 348.9 MB, free: 136 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.03932, allocations: 1.115 MB / 350 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005721/0.04504, allocations: 6.769 MB / 356.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.04967, allocations: 4.233 MB / 361 MB, free: 3.914 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.05423, allocations: 3.953 MB / 365 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.05686, allocations: 2.782 MB / 367.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.05728, allocations: 424 kB / 368.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.0589, allocations: 1.381 MB / 369.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.06039, allocations: 2.63 MB / 372.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.06159, allocations: 1.589 MB / 373.7 MB, free: 7.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.06606, allocations: 5.683 MB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.06606, allocations: 0 / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.06606, allocations: 3.984 kB / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.05e-05/0.06611, allocations: 0 / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.00543/0.07155, allocations: 5.614 MB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.07158, allocations: 8.031 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.07461, allocations: 1.304 MB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.07779, allocations: 2.611 MB / 389 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.07792, allocations: 275.5 kB / 389.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004302/0.07835, allocations: 384.1 kB / 389.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005943/0.0843, allocations: 5.784 MB / 395.4 MB, free: 496 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.08438, allocations: 51.56 kB / 395.4 MB, free: 444 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/0.08467, allocations: 179.8 kB / 395.6 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/0.0862, allocations: 1.889 MB / 397.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/0.09056, allocations: 2.859 MB / 400.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.1171, allocations: 36.61 MB / 437 MB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.1208, allocations: 1.694 MB / 438.7 MB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.1212, allocations: 356.2 kB / 439 MB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1808/0.3021, allocations: 3.789 MB / 442.8 MB, free: 110.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.3021, allocations: 47.02 kB / 442.9 MB, free: 110.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.897e-06/0.3021, allocations: 0.5938 kB / 442.9 MB, free: 110.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01084/0.313, allocations: 4.072 MB / 446.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.313, allocations: 192 kB / 447.1 MB, free: 109.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.316, allocations: 4.056 MB / 451.2 MB, free: 109.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.3161, allocations: 42.77 kB / 451.2 MB, free: 109.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3172, allocations: 3.672 MB / 454.9 MB, free: 107.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.3175, allocations: 0.5745 MB / 455.5 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008654/0.3183, allocations: 1.338 MB / 456.8 MB, free: 106.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.399e-05/0.3184, allocations: 305.4 kB / 457.1 MB, free: 106.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.3194, allocations: 0.7967 MB / 457.9 MB, free: 106.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.3216, allocations: 5.229 MB / 463.1 MB, free: 100.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.3252, allocations: 6.637 MB / 469.8 MB, free: 93.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-05/0.3252, allocations: 44 kB / 469.8 MB, free: 93.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.00423/0.3295, allocations: 4.751 MB / 474.6 MB, free: 89.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.3295, allocations: 72 kB / 474.6 MB, free: 89.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/0.3296, allocations: 164 kB / 474.8 MB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.33, allocations: 286.9 kB / 475.1 MB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.3321, allocations: 1.573 MB / 476.6 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.3331, allocations: 2.722 MB / 479.4 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.3354, allocations: 314.4 kB / 479.7 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.3356, allocations: 376 kB / 480 MB, free: 83.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (872): * Single equations (assignments): 865 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009895/0.3366, allocations: 0.7082 MB / 480.7 MB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.3369, allocations: 235.7 kB / 481 MB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.3375, allocations: 0.6793 MB / 481.7 MB, free: 82.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3375, allocations: 12 kB / 481.7 MB, free: 82.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3375, allocations: 4 kB / 481.7 MB, free: 82.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.3375, allocations: 3.984 kB / 481.7 MB, free: 82.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/0.3415, allocations: 3.876 MB / 485.5 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3415, allocations: 8 kB / 485.6 MB, free: 78.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.3419, allocations: 188.4 kB / 485.7 MB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.3423, allocations: 316.2 kB / 486.1 MB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.3424, allocations: 31.98 kB / 486.1 MB, free: 77.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007491/0.3431, allocations: 2.426 MB / 488.5 MB, free: 75.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3431, allocations: 12.23 kB / 488.5 MB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.3441, allocations: 1.585 MB / 490.1 MB, free: 73.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.3444, allocations: 380.1 kB / 490.5 MB, free: 72.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.3447, allocations: 28 kB / 490.5 MB, free: 72.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.3453, allocations: 27.98 kB / 490.5 MB, free: 72.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.3454, allocations: 88.19 kB / 490.6 MB, free: 72.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.3454, allocations: 40 kB / 490.7 MB, free: 72.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000972/0.3464, allocations: 1.505 MB / 492.2 MB, free: 71.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3464, allocations: 0 / 492.2 MB, free: 71.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002721/0.3491, allocations: 1.117 MB / 493.3 MB, free: 70.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (104): * Single equations (assignments): 99 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002783/0.3494, allocations: 159.8 kB / 493.4 MB, free: 70.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.3516, allocations: 2.762 MB / 496.2 MB, free: 67.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002049/0.3518, allocations: 108.2 kB / 496.3 MB, free: 67.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.3523, allocations: 0.5188 MB / 496.8 MB, free: 66.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.354, allocations: 0.7464 MB / 497.6 MB, free: 65.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.362, allocations: 8.489 MB / 0.4942 GB, free: 57.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009813/0.363, allocations: 1.436 MB / 0.4956 GB, free: 55.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00111/0.3641, allocations: 0.5764 MB / 0.4962 GB, free: 55.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/0.3648, allocations: 0.6143 MB / 0.4968 GB, free: 54.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3648, allocations: 0 / 0.4968 GB, free: 54.59 MB / 410.7 MB Notification: Performance of Templates: time 0.04125/0.406, allocations: 30.82 MB / 0.5269 GB, free: 24.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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.151036865077913]