Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001481/0.001481, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00122/0.00122, allocations: 169.7 kB / 24.99 MB, free: 8.219 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 1.031/1.031, allocations: 177 MB / 205.2 MB, free: 5.562 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.2989/0.2989, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.287e-05, allocations: 6.312 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01048/0.01051, allocations: 12.22 MB / 391 MB, free: 6.113 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.01825, allocations: 4.423 MB / 395.4 MB, free: 1.676 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.0212, allocations: 107.4 kB / 395.5 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005103/0.0263, allocations: 3.976 MB / 399.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.03099, allocations: 2.329 MB / 401.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.03293, allocations: 1.103 MB / 402.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00948/0.04241, allocations: 6.8 MB / 409.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005967/0.04837, allocations: 4.162 MB / 413.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006061/0.05443, allocations: 3.001 MB / 416.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00505/0.05948, allocations: 2.962 MB / 419.8 MB, free: 9.113 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.06108, allocations: 420 kB / 420.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.06359, allocations: 1.393 MB / 421.7 MB, free: 7.309 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.06569, allocations: 2.626 MB / 424.3 MB, free: 4.676 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.06845, allocations: 1.601 MB / 425.9 MB, free: 3.07 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006655/0.07511, allocations: 5.691 MB / 431.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.07512, allocations: 4 kB / 431.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07512, allocations: 0 / 431.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002916/0.07541, allocations: 0 / 431.6 MB, free: 13.36 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01022/0.08563, allocations: 6.569 MB / 438.1 MB, free: 6.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.08568, allocations: 8.031 kB / 438.1 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/0.09334, allocations: 3.102 MB / 441.3 MB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/0.09958, allocations: 3.303 MB / 444.6 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1712/0.2708, allocations: 277.3 kB / 444.8 MB, free: 98.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.272, allocations: 373.9 kB / 445.2 MB, free: 98.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.284, allocations: 7.274 MB / 452.5 MB, free: 94.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.2842, allocations: 54.36 kB / 452.5 MB, free: 94.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.2846, allocations: 183.6 kB / 452.7 MB, free: 94.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001871/0.2864, allocations: 2.14 MB / 454.8 MB, free: 94.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007919/0.2943, allocations: 3.896 MB / 458.7 MB, free: 93.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03233/0.3267, allocations: 51.32 MB / 0.4981 GB, free: 51.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005821/0.3325, allocations: 2.115 MB / 0.5002 GB, free: 51.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.3337, allocations: 0.676 MB / 0.5008 GB, free: 51.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006004/0.3397, allocations: 4.268 MB / 0.505 GB, free: 48.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3397, allocations: 57.97 kB / 0.505 GB, free: 48.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.807e-06/0.3397, allocations: 0 / 0.505 GB, free: 48.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.02809/0.3678, allocations: 13.54 MB / 0.5183 GB, free: 41.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3679, allocations: 222.3 kB / 0.5185 GB, free: 41.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/0.3725, allocations: 4.382 MB / 0.5228 GB, free: 37.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000391/0.3729, allocations: 47.66 kB / 0.5228 GB, free: 37.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.3747, allocations: 4.06 MB / 0.5268 GB, free: 33.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009343/0.3756, allocations: 0.7059 MB / 0.5275 GB, free: 32.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.3769, allocations: 1.523 MB / 0.5289 GB, free: 31.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.377, allocations: 488.7 kB / 0.5294 GB, free: 30.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.3781, allocations: 0.7356 MB / 0.5301 GB, free: 29.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.3807, allocations: 7.104 MB / 0.5371 GB, free: 19.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005415/0.3861, allocations: 8.572 MB / 0.5454 GB, free: 8.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.278e-05/0.3862, allocations: 44 kB / 0.5455 GB, free: 8.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.008272/0.3944, allocations: 6.499 MB / 0.5518 GB, free: 1.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.3945, allocations: 68 kB / 0.5519 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.3946, allocations: 152 kB / 0.552 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.3963, allocations: 0.8151 MB / 0.5528 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/0.3989, allocations: 1.556 MB / 0.5543 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.4041, allocations: 5.917 MB / 0.5601 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/0.4096, allocations: 427.6 kB / 0.5605 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.4106, allocations: 427.9 kB / 0.5609 GB, free: 8.281 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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (836): * Single equations (assignments): 829 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00216/0.4128, allocations: 0.7247 MB / 0.5617 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009181/0.4137, allocations: 449.2 kB / 0.5621 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/0.4169, allocations: 1.746 MB / 0.5638 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.4169, allocations: 23.94 kB / 0.5638 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.417, allocations: 4 kB / 0.5638 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.417, allocations: 11.97 kB / 0.5638 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.4275, allocations: 5.824 MB / 0.5695 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4276, allocations: 7.938 kB / 0.5695 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007479/0.4283, allocations: 263.8 kB / 0.5698 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.4301, allocations: 0.5831 MB / 0.5703 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.4302, allocations: 31.98 kB / 0.5704 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.4345, allocations: 5.424 MB / 0.5757 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4345, allocations: 4 kB / 0.5757 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.4388, allocations: 2.945 MB / 0.5785 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/0.4395, allocations: 405.1 kB / 0.5789 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.4398, allocations: 32 kB / 0.579 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/0.4407, allocations: 143.8 kB / 0.5791 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.4409, allocations: 104.7 kB / 0.5792 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.441, allocations: 48 kB / 0.5792 GB, free: 5.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00229/0.4433, allocations: 1.901 MB / 0.5811 GB, free: 3.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4433, allocations: 0 / 0.5811 GB, free: 3.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004097/0.4474, allocations: 1.289 MB / 0.5824 GB, free: 1.871 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003926/0.4478, allocations: 166.9 kB / 0.5825 GB, free: 1.695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005232/0.453, allocations: 3.549 MB / 0.586 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.453, allocations: 0 / 0.586 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4541, allocations: 0.9734 MB / 0.5869 GB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.4559, allocations: 0.5226 MB / 0.5874 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.4677, allocations: 8.865 MB / 0.5961 GB, free: 3.613 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.4691, allocations: 1.485 MB / 0.5976 GB, free: 2.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002807/0.4719, allocations: 1.744 MB / 0.5993 GB, free: 360 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009212/0.4728, allocations: 264.4 kB / 0.5995 GB, free: 96 kB / 458.7 MB Notification: Performance of SimCode: time 2.425e-06/0.4728, allocations: 0 / 0.5995 GB, free: 96 kB / 458.7 MB Notification: Performance of Templates: time 0.201/0.6739, allocations: 36.93 MB / 0.6356 GB, free: 119 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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.859107028925791]