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.001326/0.001326, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001689/0.001689, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 1.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.598 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.2762/0.2762, allocations: 34.86 MB / 296.3 MB, free: 0.5664 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.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.214e-05, allocations: 2.312 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009829/0.009852, allocations: 12.26 MB / 391 MB, free: 5.781 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.01674, allocations: 4.411 MB / 395.4 MB, free: 1.355 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.01795, allocations: 103.5 kB / 395.5 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.02187, allocations: 3.984 MB / 399.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.02544, allocations: 2.329 MB / 401.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.02687, allocations: 1.115 MB / 403 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005453/0.03232, allocations: 6.796 MB / 409.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003335/0.03566, allocations: 4.146 MB / 413.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/0.0384, allocations: 3.001 MB / 416.9 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.04111, allocations: 2.958 MB / 419.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005625/0.04167, allocations: 424 kB / 420.3 MB, free: 8.387 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.04336, allocations: 1.381 MB / 421.7 MB, free: 7.004 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.04491, allocations: 2.63 MB / 424.3 MB, free: 4.367 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.0463, allocations: 1.593 MB / 425.9 MB, free: 2.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.05084, allocations: 5.683 MB / 431.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.05085, allocations: 0 / 431.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.05085, allocations: 0 / 431.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.05097, allocations: 0 / 431.6 MB, free: 13.07 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.007178/0.05814, allocations: 6.553 MB / 438.1 MB, free: 6.441 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.05818, allocations: 8.031 kB / 438.1 MB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006072/0.06425, allocations: 3.098 MB / 441.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1768/0.2411, allocations: 3.3 MB / 444.5 MB, free: 91.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.2413, allocations: 273.4 kB / 444.8 MB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.2425, allocations: 374.9 kB / 445.2 MB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009169/0.2517, allocations: 7.264 MB / 452.4 MB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.2518, allocations: 54.8 kB / 452.5 MB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.2522, allocations: 176.9 kB / 452.7 MB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/0.2542, allocations: 2.151 MB / 454.8 MB, free: 87.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008059/0.2622, allocations: 3.883 MB / 458.7 MB, free: 87.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02659/0.2888, allocations: 51.1 MB / 0.4978 GB, free: 45.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004887/0.2937, allocations: 2.111 MB / 0.4999 GB, free: 45.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009327/0.2946, allocations: 0.6819 MB / 0.5006 GB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005371/0.3, allocations: 4.433 MB / 0.5049 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3, allocations: 54.08 kB / 0.5049 GB, free: 42.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 3.517e-06/0.3001, allocations: 5.125 kB / 0.505 GB, free: 42.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.02328/0.3233, allocations: 12.5 MB / 0.5172 GB, free: 37.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3234, allocations: 200.9 kB / 0.5173 GB, free: 37.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/0.3279, allocations: 4.378 MB / 0.5216 GB, free: 34.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.328, allocations: 45.7 kB / 0.5217 GB, free: 34.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.3298, allocations: 4.044 MB / 0.5256 GB, free: 30.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.3303, allocations: 0.7147 MB / 0.5263 GB, free: 29.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.3315, allocations: 1.533 MB / 0.5278 GB, free: 28.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.3315, allocations: 476.8 kB / 0.5283 GB, free: 27.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3327, allocations: 0.7467 MB / 0.529 GB, free: 27.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.3359, allocations: 7.107 MB / 0.5359 GB, free: 17.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00586/0.3418, allocations: 8.574 MB / 0.5443 GB, free: 6.297 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/0.3419, allocations: 44 kB / 0.5444 GB, free: 6.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.009339/0.3512, allocations: 6.504 MB / 0.5507 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/0.3513, allocations: 75.98 kB / 0.5508 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/0.3515, allocations: 148 kB / 0.5509 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.3535, allocations: 0.8017 MB / 0.5517 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.3563, allocations: 1.575 MB / 0.5532 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004577/0.3608, allocations: 5.852 MB / 0.559 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.3635, allocations: 423.5 kB / 0.5594 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003901/0.3639, allocations: 422 kB / 0.5598 GB, free: 6.293 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001317/0.3652, allocations: 0.7323 MB / 0.5605 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/0.3657, allocations: 448.2 kB / 0.5609 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.3683, allocations: 1.76 MB / 0.5626 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.3684, allocations: 20 kB / 0.5626 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3684, allocations: 4 kB / 0.5626 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3684, allocations: 7.969 kB / 0.5626 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008289/0.3767, allocations: 5.769 MB / 0.5683 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3767, allocations: 288 / 0.5683 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.3774, allocations: 303.5 kB / 0.5686 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.3789, allocations: 0.5781 MB / 0.5691 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.379, allocations: 32.86 kB / 0.5692 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/0.3833, allocations: 5.318 MB / 0.5744 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3833, allocations: 7.938 kB / 0.5744 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/0.3875, allocations: 2.845 MB / 0.5771 GB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007057/0.3882, allocations: 409 kB / 0.5775 GB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.3884, allocations: 32 kB / 0.5776 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.3893, allocations: 145.1 kB / 0.5777 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.3895, allocations: 112.8 kB / 0.5778 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.3896, allocations: 45.11 kB / 0.5779 GB, free: 3.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002515/0.3921, allocations: 1.901 MB / 0.5797 GB, free: 1.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3921, allocations: 0 / 0.5797 GB, free: 1.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004259/0.3964, allocations: 1.287 MB / 0.581 GB, free: 168 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/0.3968, allocations: 176.9 kB / 0.5811 GB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005382/0.4022, allocations: 3.546 MB / 0.5846 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4022, allocations: 0 / 0.5846 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009619/0.4031, allocations: 0.9552 MB / 0.5855 GB, free: 11.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4048, allocations: 0.5199 MB / 0.586 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.4165, allocations: 8.84 MB / 0.5947 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.4178, allocations: 1.474 MB / 0.5961 GB, free: 476 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002829/0.4206, allocations: 1.752 MB / 0.5978 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.4212, allocations: 272.4 kB / 0.5981 GB, free: 14.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.934e-06/0.4212, allocations: 0 / 0.5981 GB, free: 14.45 MB / 474.7 MB Notification: Performance of Templates: time 0.2114/0.6326, allocations: 37.75 MB / 0.6349 GB, free: 132.1 MB / 474.7 MB " [Timeout remaining time 659] 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.698315764777362]