Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.001683/0.001683, allocations: 91.5 kB / 21.2 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.002026/0.002026, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9356/0.9356, allocations: 177 MB / 204.8 MB, free: 5.594 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.2608/0.2608, allocations: 34.87 MB / 296.3 MB, free: 480 kB / 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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.379e-05, allocations: 4.984 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01169/0.01171, allocations: 14.87 MB / 393.7 MB, free: 3.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008189/0.0199, allocations: 4.995 MB / 398.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.02141, allocations: 127.4 kB / 398.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00515/0.02656, allocations: 5.37 MB / 404.2 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.03063, allocations: 2.682 MB / 406.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.03243, allocations: 1.388 MB / 408.2 MB, free: 4.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00784/0.04027, allocations: 9.073 MB / 417.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004918/0.04519, allocations: 5.647 MB / 422.9 MB, free: 5.668 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.04962, allocations: 3.925 MB / 426.9 MB, free: 1.734 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.05323, allocations: 3.952 MB / 430.8 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007472/0.05398, allocations: 0.5508 MB / 431.4 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.05583, allocations: 1.525 MB / 432.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.05781, allocations: 3.409 MB / 436.3 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.05981, allocations: 2.103 MB / 438.4 MB, free: 6.168 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.185/0.2449, allocations: 7.025 MB / 445.4 MB, free: 68.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2449, allocations: 5.953 kB / 445.4 MB, free: 68.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2449, allocations: 0 / 445.4 MB, free: 68.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004809/0.2453, allocations: 0 / 445.4 MB, free: 68.56 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01208/0.2574, allocations: 8.232 MB / 453.7 MB, free: 65.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2575, allocations: 11.31 kB / 453.7 MB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00777/0.2652, allocations: 3.756 MB / 457.4 MB, free: 65.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.271, allocations: 4.231 MB / 461.7 MB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.2712, allocations: 368.2 kB / 462 MB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005633/0.2717, allocations: 487.4 kB / 462.5 MB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.2824, allocations: 9.018 MB / 471.5 MB, free: 60.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.2826, allocations: 77.42 kB / 471.6 MB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004408/0.2831, allocations: 230.6 kB / 471.8 MB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/0.2853, allocations: 2.541 MB / 474.4 MB, free: 59.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009904/0.2952, allocations: 4.763 MB / 479.1 MB, free: 59.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04163/0.3368, allocations: 62.03 MB / 0.5285 GB, free: 24.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/0.3422, allocations: 2.383 MB / 0.5308 GB, free: 23.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.3432, allocations: 0.8626 MB / 0.5316 GB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.3433, allocations: 40.16 kB / 0.5317 GB, free: 23.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3433, allocations: 59.38 kB / 0.5317 GB, free: 23.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=186): time 4.178e-06/0.3433, allocations: 0 / 0.5317 GB, free: 23.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=204): time 0.03102/0.3744, allocations: 17.43 MB / 0.5488 GB, free: 11.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3745, allocations: 248.8 kB / 0.549 GB, free: 10.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005875/0.3803, allocations: 5.201 MB / 0.5541 GB, free: 5.785 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.3805, allocations: 55.66 kB / 0.5541 GB, free: 5.727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.383, allocations: 4.887 MB / 0.5589 GB, free: 0.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007663/0.3838, allocations: 0.8772 MB / 0.5598 GB, free: 8 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.3857, allocations: 1.784 MB / 0.5615 GB, free: 14.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3858, allocations: 476.8 kB / 0.562 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.3874, allocations: 0.9204 MB / 0.5629 GB, free: 12.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005779/0.3932, allocations: 8.242 MB / 0.5709 GB, free: 1.301 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009248/0.4025, allocations: 9.993 MB / 0.5807 GB, free: 4.289 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.901e-05/0.4026, allocations: 52 kB / 0.5807 GB, free: 4.238 MB / 458.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.01059/0.4131, allocations: 7.895 MB / 0.5884 GB, free: 12.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.4132, allocations: 76 kB / 0.5885 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.4133, allocations: 173.6 kB / 0.5887 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.4157, allocations: 1.144 MB / 0.5898 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.4186, allocations: 1.844 MB / 0.5916 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.4253, allocations: 8.803 MB / 0.6002 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/0.4291, allocations: 0.5266 MB / 0.6007 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/0.4295, allocations: 488 kB / 0.6012 GB, free: 14.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (987): * Single equations (assignments): 981 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001795/0.4313, allocations: 0.8335 MB / 0.602 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007572/0.4321, allocations: 0.5358 MB / 0.6025 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.4359, allocations: 2.441 MB / 0.6049 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.4359, allocations: 24 kB / 0.6049 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.4359, allocations: 8 kB / 0.6049 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4359, allocations: 7.969 kB / 0.6049 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.4474, allocations: 7.61 MB / 0.6123 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4475, allocations: 4 kB / 0.6124 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.4483, allocations: 322.9 kB / 0.6127 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.4505, allocations: 0.8781 MB / 0.6135 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.4506, allocations: 32 kB / 0.6135 GB, free: 2.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.189/0.6397, allocations: 8.088 MB / 0.6214 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6397, allocations: 7.531 kB / 0.6215 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/0.6451, allocations: 3.661 MB / 0.625 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009156/0.646, allocations: 0.4987 MB / 0.6255 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003425/0.6464, allocations: 37.06 kB / 0.6255 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6476, allocations: 220.4 kB / 0.6258 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/0.6479, allocations: 132.7 kB / 0.6259 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-05/0.6479, allocations: 55.36 kB / 0.6259 GB, free: 142.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002884/0.6508, allocations: 2.293 MB / 0.6282 GB, free: 142.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6508, allocations: 0 / 0.6282 GB, free: 142.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005246/0.6561, allocations: 1.656 MB / 0.6298 GB, free: 142.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (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.000435/0.6565, allocations: 184.4 kB / 0.63 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005177/0.6617, allocations: 4.413 MB / 0.6343 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6617, allocations: 0 / 0.6343 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6629, allocations: 1.367 MB / 0.6356 GB, free: 141 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.665, allocations: 0.6715 MB / 0.6363 GB, free: 141 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.678, allocations: 11.09 MB / 0.6471 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/0.6797, allocations: 1.843 MB / 0.6489 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003527/0.6832, allocations: 2.035 MB / 0.6509 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/0.6841, allocations: 323.5 kB / 0.6512 GB, free: 136.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.796e-06/0.6841, allocations: 1.25 kB / 0.6512 GB, free: 136.2 MB / 490.7 MB Notification: Performance of Templates: time 0.06608/0.7502, allocations: 50.01 MB / 0.7 GB, free: 102.4 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.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.975999029353261]