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.00169/0.00169, allocations: 117.6 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002135, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4141, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01834/0.4325, allocations: 15.42 MB / 0.5461 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.4464, allocations: 5.052 MB / 0.551 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005466/0.4519, allocations: 111.6 kB / 0.5511 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.4624, allocations: 4.996 MB / 0.556 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008343/0.4708, allocations: 2.579 MB / 0.5585 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.4742, allocations: 1.232 MB / 0.5597 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.4864, allocations: 7.937 MB / 0.5675 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009592/0.496, allocations: 5.957 MB / 0.5733 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006532/0.5026, allocations: 2.512 MB / 0.5757 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007172/0.5098, allocations: 3.439 MB / 0.5791 GB, free: 272 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002478/0.5124, allocations: 0.5352 MB / 0.5796 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00503/0.5174, allocations: 1.549 MB / 0.5811 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00528/0.5227, allocations: 3.149 MB / 0.5842 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00813/0.5309, allocations: 3.461 MB / 0.5876 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01669/0.5476, allocations: 10.78 MB / 0.5981 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5477, allocations: 4 kB / 0.5981 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5477, allocations: 3.938 kB / 0.5981 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004383/0.5481, allocations: 0 / 0.5981 GB, free: 12.71 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.0232/0.5713, allocations: 7.506 MB / 0.6054 GB, free: 5.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5714, allocations: 12.03 kB / 0.6054 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/0.5871, allocations: 3.038 MB / 0.6084 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.6005, allocations: 4.806 MB / 0.6131 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/0.601, allocations: 357.7 kB / 0.6134 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/0.6032, allocations: 0.4919 MB / 0.6139 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/0.6313, allocations: 14.25 MB / 0.6278 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/0.6316, allocations: 75.3 kB / 0.6279 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.6329, allocations: 223.8 kB / 0.6281 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/0.6372, allocations: 2.535 MB / 0.6306 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.6644, allocations: 11.77 MB / 0.6421 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0863/0.7508, allocations: 55.68 MB / 0.6965 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.763, allocations: 4.679 MB / 0.701 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003913/0.7669, allocations: 2.939 MB / 0.7039 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.7671, allocations: 36.95 kB / 0.704 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.7672, allocations: 56.25 kB / 0.704 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 4.649e-06/0.7672, allocations: 0 / 0.704 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.389/1.156, allocations: 23.23 MB / 0.7267 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.156, allocations: 256.5 kB / 0.7269 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.167, allocations: 6.707 MB / 0.7335 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005706/1.167, allocations: 54.67 kB / 0.7335 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003001/1.17, allocations: 4.465 MB / 0.7379 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.172, allocations: 0.8357 MB / 0.7387 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001895/1.173, allocations: 1.672 MB / 0.7403 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/1.173, allocations: 305.1 kB / 0.7406 GB, free: 151 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/1.177, allocations: 2.892 MB / 0.7435 GB, free: 150 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005884/1.183, allocations: 7.783 MB / 0.7511 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/1.194, allocations: 11.42 MB / 0.7622 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/1.194, allocations: 51.94 kB / 0.7623 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.01806/1.212, allocations: 11.9 MB / 0.7739 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.212, allocations: 76 kB / 0.774 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002448/1.212, allocations: 176 kB / 0.7741 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004099/1.216, allocations: 1.762 MB / 0.7759 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/1.222, allocations: 1.914 MB / 0.7777 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/1.235, allocations: 12.4 MB / 0.7898 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008204/1.243, allocations: 451.1 kB / 0.7903 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/1.245, allocations: 492.6 kB / 0.7907 GB, free: 100.1 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.007101/1.252, allocations: 2.963 MB / 0.7936 GB, free: 97.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002211/1.254, allocations: 0.536 MB / 0.7942 GB, free: 96.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009752/1.264, allocations: 4.844 MB / 0.7989 GB, free: 91.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/1.264, allocations: 26.95 kB / 0.7989 GB, free: 91.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/1.264, allocations: 11.94 kB / 0.7989 GB, free: 91.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/1.264, allocations: 7.969 kB / 0.7989 GB, free: 91.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.287, allocations: 11.05 MB / 0.8097 GB, free: 80.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.287, allocations: 0 / 0.8097 GB, free: 80.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.288, allocations: 395.4 kB / 0.8101 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/1.292, allocations: 1.478 MB / 0.8115 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/1.292, allocations: 39.94 kB / 0.8116 GB, free: 78.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.303, allocations: 11.49 MB / 0.8228 GB, free: 66.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.303, allocations: 3.984 kB / 0.8228 GB, free: 66.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.315, allocations: 7.931 MB / 0.8305 GB, free: 58.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.317, allocations: 0.6072 MB / 0.8311 GB, free: 58.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/1.319, allocations: 39.92 kB / 0.8312 GB, free: 58.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/1.322, allocations: 131.9 kB / 0.8313 GB, free: 57.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/1.322, allocations: 121.2 kB / 0.8314 GB, free: 57.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.322, allocations: 59.98 kB / 0.8315 GB, free: 57.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007671/1.33, allocations: 4.277 MB / 0.8356 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.81e-07/1.33, allocations: 0 / 0.8356 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009846/1.34, allocations: 1.452 MB / 0.8371 GB, free: 52.08 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.0009335/1.341, allocations: 176.3 kB / 0.8372 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.353, allocations: 7.064 MB / 0.8441 GB, free: 44.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.353, allocations: 4 kB / 0.8441 GB, free: 44.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003627/1.357, allocations: 2.269 MB / 0.8464 GB, free: 42.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007749/1.364, allocations: 0.7655 MB / 0.8471 GB, free: 41.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/1.392, allocations: 13.53 MB / 0.8603 GB, free: 28.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008051/1.4, allocations: 4.504 MB / 0.8647 GB, free: 23.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005939/1.406, allocations: 2.503 MB / 0.8672 GB, free: 21.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.408, allocations: 351.4 kB / 0.8675 GB, free: 20.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2.655e-06/1.408, allocations: 0 / 0.8675 GB, free: 20.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.1092/1.517, allocations: 53.56 MB / 0.9198 GB, free: 15.59 MB / 0.6075 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches