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.001226/0.001226, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01554/0.315, allocations: 15.41 MB / 0.5467 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.3266, allocations: 5.066 MB / 0.5517 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.3296, allocations: 107.7 kB / 0.5518 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008589/0.3382, allocations: 4.988 MB / 0.5566 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006981/0.3452, allocations: 2.586 MB / 0.5592 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.3483, allocations: 1.24 MB / 0.5604 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.3588, allocations: 7.929 MB / 0.5681 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006717/0.3656, allocations: 5.957 MB / 0.5739 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.3695, allocations: 2.512 MB / 0.5764 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004574/0.3741, allocations: 3.439 MB / 0.5797 GB, free: 304 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.3755, allocations: 0.5352 MB / 0.5803 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.3786, allocations: 1.553 MB / 0.5818 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.3818, allocations: 3.145 MB / 0.5849 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00459/0.3864, allocations: 3.461 MB / 0.5882 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.3987, allocations: 10.78 MB / 0.5988 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3988, allocations: 4 kB / 0.5988 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3988, allocations: 0 / 0.5988 GB, free: 12.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003024/0.3991, allocations: 0 / 0.5988 GB, free: 12.75 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.01692/0.416, allocations: 7.506 MB / 0.6061 GB, free: 5.164 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.4161, allocations: 8.031 kB / 0.6061 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.4294, allocations: 3.038 MB / 0.6091 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.4395, allocations: 4.806 MB / 0.6138 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.4398, allocations: 365.6 kB / 0.6141 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/0.4413, allocations: 491.8 kB / 0.6146 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/0.466, allocations: 14.25 MB / 0.6285 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/0.4663, allocations: 71.38 kB / 0.6286 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008223/0.4671, allocations: 231.8 kB / 0.6288 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003788/0.4709, allocations: 2.539 MB / 0.6313 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/0.4928, allocations: 11.76 MB / 0.6427 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06744/0.5602, allocations: 55.69 MB / 0.6971 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.5714, allocations: 4.691 MB / 0.7017 GB, free: 488 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003787/0.5753, allocations: 2.932 MB / 0.7046 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.5754, allocations: 36.88 kB / 0.7046 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.5755, allocations: 60.19 kB / 0.7047 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 4.508e-06/0.5755, allocations: 4 kB / 0.7047 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.328/0.9035, allocations: 23.22 MB / 0.7274 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.9037, allocations: 258 kB / 0.7276 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008852/0.9125, allocations: 6.705 MB / 0.7341 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004201/0.913, allocations: 59.11 kB / 0.7342 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/0.9151, allocations: 4.469 MB / 0.7386 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007566/0.9159, allocations: 0.8361 MB / 0.7394 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.9175, allocations: 1.665 MB / 0.741 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.9176, allocations: 301.1 kB / 0.7413 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/0.9206, allocations: 2.889 MB / 0.7441 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/0.9253, allocations: 7.788 MB / 0.7517 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008524/0.9339, allocations: 11.42 MB / 0.7629 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.934, allocations: 51.94 kB / 0.7629 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.0173/0.9513, allocations: 11.9 MB / 0.7746 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.9515, allocations: 76 kB / 0.7746 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.9516, allocations: 172 kB / 0.7748 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00371/0.9553, allocations: 1.77 MB / 0.7765 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/0.9605, allocations: 1.914 MB / 0.7784 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.971, allocations: 12.39 MB / 0.7905 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005931/0.977, allocations: 459.1 kB / 0.7909 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/0.978, allocations: 492 kB / 0.7914 GB, free: 101.7 MB / 0.5606 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.003824/0.9819, allocations: 2.962 MB / 0.7943 GB, free: 98.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.9829, allocations: 0.536 MB / 0.7948 GB, free: 98.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006933/0.9898, allocations: 4.844 MB / 0.7995 GB, free: 93.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/0.9899, allocations: 25.12 kB / 0.7996 GB, free: 93.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.9899, allocations: 15.88 kB / 0.7996 GB, free: 93.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.99, allocations: 11.95 kB / 0.7996 GB, free: 93.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/1.006, allocations: 11.05 MB / 0.8104 GB, free: 82.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.006, allocations: 0 / 0.8104 GB, free: 82.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.008, allocations: 391.4 kB / 0.8108 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003317/1.011, allocations: 1.478 MB / 0.8122 GB, free: 80.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/1.012, allocations: 39.92 kB / 0.8122 GB, free: 80.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009715/1.021, allocations: 11.49 MB / 0.8235 GB, free: 68.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.021, allocations: 4.031 kB / 0.8235 GB, free: 68.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.031, allocations: 7.932 MB / 0.8312 GB, free: 60.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.033, allocations: 0.6111 MB / 0.8318 GB, free: 59.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009517/1.034, allocations: 39.94 kB / 0.8318 GB, free: 59.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.036, allocations: 135.3 kB / 0.832 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/1.037, allocations: 121.2 kB / 0.8321 GB, free: 59.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.037, allocations: 56 kB / 0.8321 GB, free: 59.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005622/1.042, allocations: 4.277 MB / 0.8363 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.042, allocations: 0 / 0.8363 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006751/1.049, allocations: 1.449 MB / 0.8377 GB, free: 53.7 MB / 0.5606 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.0004159/1.05, allocations: 170.8 kB / 0.8379 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008149/1.058, allocations: 7.067 MB / 0.8448 GB, free: 46.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.058, allocations: 0 / 0.8448 GB, free: 46.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002385/1.06, allocations: 2.272 MB / 0.847 GB, free: 44.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.064, allocations: 0.767 MB / 0.8478 GB, free: 43.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.082, allocations: 14.09 MB / 0.8615 GB, free: 29.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003695/1.085, allocations: 4.477 MB / 0.8659 GB, free: 24.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.087, allocations: 403.4 kB / 0.8663 GB, free: 24.37 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/1.087, allocations: 0 / 0.8663 GB, free: 24.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.4172/1.504, allocations: 165.4 MB / 1.028 GB, free: 146.5 MB / 0.6231 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