Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.001006/0.001006, 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.001028/0.001028, allocations: 162.4 kB / 24.99 MB, free: 9.281 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.973/0.973, allocations: 177 MB / 205.2 MB, free: 5.617 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.3193/0.3193, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.WorldForces2,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.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,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.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.16e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01128/0.0113, allocations: 14.84 MB / 393.6 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.01838, allocations: 4.976 MB / 398.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000879/0.01926, allocations: 131.4 kB / 398.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005031/0.02429, allocations: 5.354 MB / 404.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.0284, allocations: 2.678 MB / 406.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.03034, allocations: 1.392 MB / 408.1 MB, free: 4.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007687/0.03803, allocations: 9.037 MB / 417.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.04233, allocations: 5.624 MB / 422.8 MB, free: 6.156 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003588/0.04591, allocations: 3.91 MB / 426.7 MB, free: 2.238 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.04888, allocations: 3.928 MB / 430.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004884/0.04937, allocations: 0.5508 MB / 431.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.05093, allocations: 1.525 MB / 432.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.05298, allocations: 3.401 MB / 436.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.05439, allocations: 2.092 MB / 438.2 MB, free: 6.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1874/0.2418, allocations: 7.001 MB / 445.2 MB, free: 68.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2418, allocations: 0 / 445.2 MB, free: 68.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2418, allocations: 0 / 445.2 MB, free: 68.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003386/0.2422, allocations: 0 / 445.2 MB, free: 68.43 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01201/0.2542, allocations: 8.185 MB / 453.4 MB, free: 65.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2542, allocations: 12.05 kB / 453.4 MB, free: 65.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.2647, allocations: 3.737 MB / 457.1 MB, free: 65.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/0.2715, allocations: 4.219 MB / 461.4 MB, free: 64.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.2717, allocations: 359.9 kB / 461.7 MB, free: 64.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006637/0.2723, allocations: 495.8 kB / 462.2 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.2839, allocations: 8.997 MB / 471.2 MB, free: 60.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/0.2841, allocations: 76.2 kB / 471.3 MB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004466/0.2845, allocations: 235.1 kB / 471.5 MB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002551/0.2871, allocations: 2.533 MB / 474 MB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009296/0.2964, allocations: 4.771 MB / 478.8 MB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03458/0.3309, allocations: 61.78 MB / 0.5279 GB, free: 24.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005474/0.3364, allocations: 2.413 MB / 0.5303 GB, free: 24.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.3375, allocations: 0.8996 MB / 0.5311 GB, free: 23.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.3376, allocations: 31.5 kB / 0.5312 GB, free: 23.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.3376, allocations: 62.28 kB / 0.5312 GB, free: 23.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 3.827e-06/0.3376, allocations: 0 / 0.5312 GB, free: 23.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=208): time 0.02984/0.3675, allocations: 17.58 MB / 0.5484 GB, free: 11.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3675, allocations: 256.9 kB / 0.5486 GB, free: 11.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/0.3724, allocations: 5.165 MB / 0.5537 GB, free: 6.098 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.3725, allocations: 57.7 kB / 0.5537 GB, free: 6.035 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/0.3749, allocations: 4.856 MB / 0.5585 GB, free: 1.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006385/0.3755, allocations: 0.8956 MB / 0.5593 GB, free: 340 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.3771, allocations: 1.794 MB / 0.5611 GB, free: 14.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.3772, allocations: 480.7 kB / 0.5616 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.3787, allocations: 0.9176 MB / 0.5625 GB, free: 13.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004825/0.3835, allocations: 8.261 MB / 0.5705 GB, free: 1.609 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/0.3913, allocations: 10 MB / 0.5803 GB, free: 4.594 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-05/0.3914, allocations: 52 kB / 0.5803 GB, free: 4.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.01109/0.4024, allocations: 7.883 MB / 0.588 GB, free: 12.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.4025, allocations: 84.69 kB / 0.5881 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/0.4026, allocations: 172 kB / 0.5883 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/0.4051, allocations: 1.145 MB / 0.5894 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/0.4083, allocations: 1.914 MB / 0.5913 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006638/0.415, allocations: 8.55 MB / 0.5996 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/0.4184, allocations: 0.534 MB / 0.6001 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/0.4188, allocations: 487.9 kB / 0.6006 GB, free: 15.42 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 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (994): * Single equations (assignments): 988 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001701/0.4205, allocations: 0.8321 MB / 0.6014 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/0.4211, allocations: 0.532 MB / 0.6019 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/0.4247, allocations: 2.445 MB / 0.6043 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.4247, allocations: 24 kB / 0.6043 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.4247, allocations: 11.98 kB / 0.6044 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4247, allocations: 11.91 kB / 0.6044 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009902/0.4346, allocations: 7.605 MB / 0.6118 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4346, allocations: 0 / 0.6118 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009938/0.4356, allocations: 399.4 kB / 0.6122 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/0.4377, allocations: 0.8643 MB / 0.613 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.4378, allocations: 32 kB / 0.6131 GB, free: 2.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1849/0.6227, allocations: 7.988 MB / 0.6209 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6227, allocations: 2.812 kB / 0.6209 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.628, allocations: 3.679 MB / 0.6244 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.6287, allocations: 0.4933 MB / 0.6249 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/0.6291, allocations: 35.53 kB / 0.625 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6302, allocations: 217.8 kB / 0.6252 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/0.6305, allocations: 127.5 kB / 0.6253 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.6306, allocations: 58.72 kB / 0.6254 GB, free: 148.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00271/0.6333, allocations: 2.276 MB / 0.6276 GB, free: 147.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6333, allocations: 0 / 0.6276 GB, free: 147.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004697/0.638, allocations: 1.637 MB / 0.6292 GB, free: 147.9 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,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 (160): * Single equations (assignments): 154 * 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,10,100.0%), (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.0003743/0.6384, allocations: 180.5 kB / 0.6293 GB, free: 147.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005453/0.6438, allocations: 4.418 MB / 0.6337 GB, free: 146.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6438, allocations: 0 / 0.6337 GB, free: 146.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.645, allocations: 1.36 MB / 0.635 GB, free: 146.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6471, allocations: 0.6657 MB / 0.6356 GB, free: 146.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.6603, allocations: 11.14 MB / 0.6465 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.6623, allocations: 1.827 MB / 0.6483 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003628/0.6659, allocations: 2.048 MB / 0.6503 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/0.6667, allocations: 327 kB / 0.6506 GB, free: 141.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/0.6667, allocations: 0 / 0.6506 GB, free: 141.3 MB / 490.7 MB Notification: Performance of Templates: time 0.06163/0.7283, allocations: 49.93 MB / 0.6994 GB, free: 106 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.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.97313825506717]