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.001043/0.001043, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01537/0.1208, allocations: 15.4 MB / 496.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.1314, allocations: 5.06 MB / 0.4902 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.1341, allocations: 107.6 kB / 0.4903 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009234/0.1434, allocations: 4.996 MB / 0.4951 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.1495, allocations: 2.505 MB / 0.4976 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.1524, allocations: 1.236 MB / 0.4988 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2054/0.3578, allocations: 7.917 MB / 0.5065 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008485/0.3663, allocations: 5.961 MB / 0.5124 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004927/0.3713, allocations: 2.504 MB / 0.5148 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006205/0.3775, allocations: 3.425 MB / 0.5181 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.3796, allocations: 0.5343 MB / 0.5187 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.3834, allocations: 1.547 MB / 0.5202 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.3875, allocations: 3.134 MB / 0.5232 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005094/0.3926, allocations: 3.461 MB / 0.5266 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009433/0.4021, allocations: 10.79 MB / 0.5372 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4021, allocations: 0 / 0.5372 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4021, allocations: 3.469 kB / 0.5372 GB, free: 5.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002987/0.4024, allocations: 0 / 0.5372 GB, free: 5.613 MB / 382.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.01497/0.4174, allocations: 7.487 MB / 0.5445 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4175, allocations: 10.69 kB / 0.5445 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.431, allocations: 3.038 MB / 0.5474 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.4419, allocations: 4.817 MB / 0.5521 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.4422, allocations: 359.1 kB / 0.5525 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/0.4437, allocations: 489.1 kB / 0.553 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.4707, allocations: 14.25 MB / 0.5669 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/0.471, allocations: 72.86 kB / 0.5669 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/0.4721, allocations: 228.9 kB / 0.5672 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/0.4761, allocations: 2.541 MB / 0.5696 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.4986, allocations: 11.78 MB / 0.5811 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06339/0.562, allocations: 55.68 MB / 0.6355 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.5734, allocations: 4.685 MB / 0.6401 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/0.577, allocations: 2.943 MB / 0.643 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.5771, allocations: 34.59 kB / 0.643 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.5772, allocations: 62.78 kB / 0.6431 GB, free: 11.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 3.947e-06/0.5772, allocations: 0 / 0.6431 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=208): time 0.05949/0.6367, allocations: 23.2 MB / 0.6657 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.6368, allocations: 264.7 kB / 0.666 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009356/0.6462, allocations: 6.703 MB / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004797/0.6467, allocations: 53.7 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003141/0.6499, allocations: 4.468 MB / 0.6769 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.651, allocations: 0.832 MB / 0.6777 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002157/0.6532, allocations: 1.672 MB / 0.6794 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6533, allocations: 305.1 kB / 0.6797 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/0.6572, allocations: 2.885 MB / 0.6825 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006951/0.6642, allocations: 7.79 MB / 0.6901 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/0.6768, allocations: 11.43 MB / 0.7013 GB, free: 11.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/0.677, allocations: 48 kB / 0.7013 GB, free: 11.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.2404/0.9173, allocations: 11.89 MB / 0.7129 GB, free: 177.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.9175, allocations: 79.88 kB / 0.713 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002953/0.9178, allocations: 172 kB / 0.7132 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/0.9229, allocations: 1.765 MB / 0.7149 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006565/0.9295, allocations: 1.912 MB / 0.7168 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.9431, allocations: 12.41 MB / 0.7289 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/0.9496, allocations: 446.4 kB / 0.7293 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.9509, allocations: 488.2 kB / 0.7298 GB, free: 171.7 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.004984/0.9559, allocations: 2.964 MB / 0.7327 GB, free: 170.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.9569, allocations: 0.5415 MB / 0.7332 GB, free: 170.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008797/0.9657, allocations: 4.839 MB / 0.7379 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.139e-05/0.9658, allocations: 25.75 kB / 0.7379 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.9658, allocations: 9.094 kB / 0.7379 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/0.9659, allocations: 14.3 kB / 0.738 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/0.9841, allocations: 11.04 MB / 0.7487 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.9842, allocations: 0 / 0.7487 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.9859, allocations: 399.6 kB / 0.7491 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/0.9894, allocations: 1.474 MB / 0.7506 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/0.9896, allocations: 39.55 kB / 0.7506 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.9998, allocations: 11.49 MB / 0.7618 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9998, allocations: 0 / 0.7618 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009851/1.01, allocations: 7.94 MB / 0.7696 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.011, allocations: 0.6029 MB / 0.7702 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006446/1.012, allocations: 36 kB / 0.7702 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.014, allocations: 132.4 kB / 0.7703 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/1.014, allocations: 124 kB / 0.7704 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.014, allocations: 62.08 kB / 0.7705 GB, free: 152.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005079/1.02, allocations: 4.277 MB / 0.7747 GB, free: 148.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.453e-06/1.02, allocations: 0 / 0.7747 GB, free: 148.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0065/1.026, allocations: 1.455 MB / 0.7761 GB, free: 147.2 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.0004751/1.027, allocations: 171 kB / 0.7763 GB, free: 147.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008792/1.035, allocations: 7.078 MB / 0.7832 GB, free: 140.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.035, allocations: 0 / 0.7832 GB, free: 140.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002487/1.038, allocations: 2.271 MB / 0.7854 GB, free: 138.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/1.042, allocations: 0.7632 MB / 0.7861 GB, free: 137.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/1.061, allocations: 13.54 MB / 0.7994 GB, free: 123.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/1.065, allocations: 4.516 MB / 0.8038 GB, free: 119.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004658/1.07, allocations: 2.495 MB / 0.8062 GB, free: 116.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/1.071, allocations: 349.5 kB / 0.8065 GB, free: 116.5 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/1.071, allocations: 3.938 kB / 0.8065 GB, free: 116.5 MB / 0.545 GB Notification: Performance of Templates: time 0.07791/1.149, allocations: 50.82 MB / 0.8562 GB, free: 66.06 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 -s gbode -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