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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.00161, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001931, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.3 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.11 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 79.3 kB / 417.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 62.43 MB / 479.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.2769/0.3845, allocations: 88.3 MB / 0.5549 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04098/0.4256, allocations: 16.97 MB / 0.5715 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01915/0.4448, allocations: 387.1 kB / 0.5718 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.4549, allocations: 4.997 MB / 0.5767 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007605/0.4626, allocations: 2.378 MB / 0.5791 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.4661, allocations: 1.151 MB / 0.5802 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.4806, allocations: 11.38 MB / 0.5913 GB, free: 5.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008692/0.4894, allocations: 5.854 MB / 0.597 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/0.494, allocations: 2.219 MB / 0.5992 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005878/0.4999, allocations: 3.676 MB / 0.6028 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.5018, allocations: 384 kB / 0.6031 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00421/0.5061, allocations: 1.471 MB / 0.6046 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004274/0.5104, allocations: 3.012 MB / 0.6075 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006297/0.5167, allocations: 3.301 MB / 0.6107 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.5267, allocations: 8.545 MB / 0.6191 GB, free: 8.711 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.5268, allocations: 4 kB / 0.6191 GB, free: 8.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5268, allocations: 0 / 0.6191 GB, free: 8.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003995/0.5272, allocations: 4 kB / 0.6191 GB, free: 8.703 MB / 462.1 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.01979/0.547, allocations: 7.486 MB / 0.6264 GB, free: 1.133 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5471, allocations: 12.81 kB / 0.6264 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/0.5618, allocations: 3.038 MB / 0.6294 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.5737, allocations: 4.735 MB / 0.634 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/0.5742, allocations: 361.7 kB / 0.6343 GB, free: 8.898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.5762, allocations: 492 kB / 0.6348 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02944/0.6057, allocations: 14.24 MB / 0.6487 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002716/0.606, allocations: 71.36 kB / 0.6488 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/0.6071, allocations: 231.8 kB / 0.649 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00425/0.6114, allocations: 2.543 MB / 0.6515 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/0.6355, allocations: 11.77 MB / 0.663 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07179/0.7074, allocations: 55.9 MB / 0.7176 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2108/0.9182, allocations: 4.686 MB / 0.7221 GB, free: 197.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003935/0.9222, allocations: 2.933 MB / 0.725 GB, free: 196.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.9224, allocations: 44.45 kB / 0.7251 GB, free: 196.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.9225, allocations: 53.83 kB / 0.7251 GB, free: 196.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=190): time 6.252e-06/0.9225, allocations: 1.531 kB / 0.7251 GB, free: 196.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.06061/0.9831, allocations: 23.22 MB / 0.7478 GB, free: 188.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.9832, allocations: 258.8 kB / 0.748 GB, free: 188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009426/0.9927, allocations: 6.706 MB / 0.7546 GB, free: 185.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000447/0.9931, allocations: 57.36 kB / 0.7546 GB, free: 185.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.9956, allocations: 4.463 MB / 0.759 GB, free: 181.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009228/0.9965, allocations: 0.8357 MB / 0.7598 GB, free: 181 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/0.9987, allocations: 1.669 MB / 0.7614 GB, free: 179.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.9988, allocations: 312.6 kB / 0.7617 GB, free: 179 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/1.002, allocations: 2.889 MB / 0.7646 GB, free: 176.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/1.007, allocations: 7.781 MB / 0.7722 GB, free: 166 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009736/1.017, allocations: 11.43 MB / 0.7833 GB, free: 152.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/1.017, allocations: 55.88 kB / 0.7834 GB, free: 152.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.0194/1.037, allocations: 11.88 MB / 0.795 GB, free: 140.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/1.037, allocations: 76 kB / 0.795 GB, free: 140.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000242/1.037, allocations: 183.9 kB / 0.7952 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004417/1.042, allocations: 1.766 MB / 0.7969 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005678/1.047, allocations: 1.918 MB / 0.7988 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/1.059, allocations: 11.53 MB / 0.8101 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006849/1.066, allocations: 443.2 kB / 0.8105 GB, free: 124 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.067, allocations: 488 kB / 0.811 GB, free: 123.5 MB / 0.545 GB 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.004727/1.072, allocations: 2.958 MB / 0.8139 GB, free: 120.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.073, allocations: 0.5398 MB / 0.8144 GB, free: 120 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008205/1.082, allocations: 4.85 MB / 0.8191 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/1.082, allocations: 20.5 kB / 0.8191 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/1.082, allocations: 8 kB / 0.8191 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/1.082, allocations: 15.81 kB / 0.8192 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.102, allocations: 11.08 MB / 0.83 GB, free: 104 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.102, allocations: 0 / 0.83 GB, free: 104 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.104, allocations: 399.4 kB / 0.8304 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/1.108, allocations: 1.471 MB / 0.8318 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.108, allocations: 39.28 kB / 0.8318 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.118, allocations: 10.63 MB / 0.8422 GB, free: 91.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.119, allocations: 0 / 0.8422 GB, free: 91.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.13, allocations: 7.933 MB / 0.85 GB, free: 83.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.131, allocations: 0.6111 MB / 0.8506 GB, free: 82.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001449/1.133, allocations: 32 kB / 0.8506 GB, free: 82.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.135, allocations: 131.8 kB / 0.8507 GB, free: 82.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004646/1.136, allocations: 121.2 kB / 0.8508 GB, free: 82.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.136, allocations: 52 kB / 0.8509 GB, free: 82.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006731/1.143, allocations: 4.277 MB / 0.8551 GB, free: 77.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/1.143, allocations: 4 kB / 0.8551 GB, free: 77.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008578/1.151, allocations: 1.455 MB / 0.8565 GB, free: 76.41 MB / 0.545 GB 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.0007835/1.152, allocations: 171 kB / 0.8566 GB, free: 76.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.163, allocations: 7.06 MB / 0.8635 GB, free: 69.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.163, allocations: 0 / 0.8635 GB, free: 69.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003072/1.166, allocations: 2.269 MB / 0.8658 GB, free: 66.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005882/1.172, allocations: 0.7201 MB / 0.8665 GB, free: 66.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/1.197, allocations: 16.94 MB / 0.883 GB, free: 49.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006187/1.203, allocations: 4.477 MB / 0.8874 GB, free: 44.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.204, allocations: 399.4 kB / 0.8878 GB, free: 44.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/1.204, allocations: 4 kB / 0.8878 GB, free: 44.27 MB / 0.545 GB Notification: Performance of Templates: time 0.3806/1.585, allocations: 164.5 MB / 1.048 GB, free: 71.3 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches