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.0009345/0.0009345, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001487/0.001487, allocations: 161 kB / 25.61 MB, free: 8.91 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.9574/0.9574, allocations: 177 MB / 205.9 MB, free: 4.445 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.1509/0.1509, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.412e-06/1.412e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.387e-05, allocations: 3.016 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.007105/0.007119, allocations: 11.95 MB / 392 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.0135, allocations: 4.389 MB / 396.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.01478, allocations: 103.5 kB / 396.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.01802, allocations: 3.929 MB / 400.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003635/0.02165, allocations: 2.329 MB / 402.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.02341, allocations: 1.111 MB / 403.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006723/0.03013, allocations: 6.811 MB / 410.6 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004529/0.03466, allocations: 4.146 MB / 414.8 MB, free: 3.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/0.03904, allocations: 3.985 MB / 418.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.04161, allocations: 2.919 MB / 421.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004576/0.04207, allocations: 423.9 kB / 422.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.04373, allocations: 1.393 MB / 423.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001796/0.04552, allocations: 2.614 MB / 426.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.0468, allocations: 1.597 MB / 427.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.05099, allocations: 5.679 MB / 433.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.051, allocations: 0 / 433.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.051, allocations: 3.938 kB / 433.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.857e-05/0.05106, allocations: 0 / 433.4 MB, free: 1.145 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.006116/0.05717, allocations: 6.299 MB / 439.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.05721, allocations: 12.03 kB / 439.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005129/0.06234, allocations: 2.104 MB / 441.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.06524, allocations: 2.776 MB / 444.6 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.06536, allocations: 279.5 kB / 444.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.06577, allocations: 380.1 kB / 445.2 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006362/0.07213, allocations: 6.488 MB / 451.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.07222, allocations: 59.55 kB / 451.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.07251, allocations: 179.8 kB / 451.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.07411, allocations: 1.885 MB / 453.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/0.07844, allocations: 2.814 MB / 456.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/0.2712, allocations: 51.14 MB / 0.4959 GB, free: 69.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/0.2756, allocations: 1.695 MB / 0.4975 GB, free: 69.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.2761, allocations: 440.9 kB / 0.498 GB, free: 69.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004762/0.2808, allocations: 4.067 MB / 0.5019 GB, free: 68.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2809, allocations: 55.05 kB / 0.502 GB, free: 68.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.316e-06/0.2809, allocations: 0 / 0.502 GB, free: 68.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01022/0.2911, allocations: 4.616 MB / 0.5065 GB, free: 67.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.2911, allocations: 203.3 kB / 0.5067 GB, free: 67.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.2946, allocations: 4.529 MB / 0.5111 GB, free: 67.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.2946, allocations: 39.92 kB / 0.5111 GB, free: 66.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.2962, allocations: 4.208 MB / 0.5153 GB, free: 64.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.2966, allocations: 0.5932 MB / 0.5158 GB, free: 64.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.2977, allocations: 1.571 MB / 0.5174 GB, free: 63.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.2978, allocations: 487.7 kB / 0.5178 GB, free: 63.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/0.2986, allocations: 0.57 MB / 0.5184 GB, free: 62.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.3012, allocations: 7.389 MB / 0.5256 GB, free: 52.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/0.3055, allocations: 8.682 MB / 0.5341 GB, free: 41.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-05/0.3056, allocations: 48 kB / 0.5341 GB, free: 41.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.005619/0.3112, allocations: 5.537 MB / 0.5395 GB, free: 35.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.3113, allocations: 72.94 kB / 0.5396 GB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.3114, allocations: 164.9 kB / 0.5398 GB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.3118, allocations: 279.3 kB / 0.54 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.314, allocations: 1.579 MB / 0.5416 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.3152, allocations: 3.786 MB / 0.5453 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.3176, allocations: 307.7 kB / 0.5456 GB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.3179, allocations: 380 kB / 0.5459 GB, free: 28.8 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.0009752/0.3188, allocations: 0.7517 MB / 0.5467 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.3192, allocations: 433.3 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007435/0.3199, allocations: 0.7496 MB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.3199, allocations: 16 kB / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.32, allocations: 0 / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.32, allocations: 7.969 kB / 0.5478 GB, free: 26.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.3245, allocations: 4.646 MB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3245, allocations: 4 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.3249, allocations: 199.9 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.3251, allocations: 83.28 kB / 0.5526 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.3251, allocations: 28 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008248/0.326, allocations: 3.487 MB / 0.5561 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.326, allocations: 8 kB / 0.5561 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3271, allocations: 1.907 MB / 0.5579 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.3275, allocations: 397.1 kB / 0.5583 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.3277, allocations: 27.98 kB / 0.5583 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/0.3285, allocations: 28.06 kB / 0.5584 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.3286, allocations: 88.19 kB / 0.5585 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.3286, allocations: 39.98 kB / 0.5585 GB, free: 15.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001208/0.3298, allocations: 1.83 MB / 0.5603 GB, free: 13.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3298, allocations: 0 / 0.5603 GB, free: 13.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002699/0.3325, allocations: 1.109 MB / 0.5614 GB, free: 12.42 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.0002719/0.3328, allocations: 174.8 kB / 0.5615 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.3351, allocations: 3.063 MB / 0.5645 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3351, allocations: 0 / 0.5645 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.3355, allocations: 0.6716 MB / 0.5652 GB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.337, allocations: 0.5225 MB / 0.5657 GB, free: 7.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008409/0.3454, allocations: 8.636 MB / 0.5741 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.3469, allocations: 1.447 MB / 0.5755 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001358/0.3483, allocations: 0.5676 MB / 0.5761 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/0.3491, allocations: 0.6677 MB / 0.5767 GB, free: 12.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3491, allocations: 0 / 0.5767 GB, free: 12.45 MB / 426.7 MB Notification: Performance of Templates: time 0.04994/0.399, allocations: 31.52 MB / 0.6075 GB, free: 13.53 MB / 458.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.606887815054506]