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.001148/0.001148, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 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.2135/0.2135, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.89 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3488, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01726/0.3662, allocations: 15.4 MB / 0.5467 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.3793, allocations: 5.066 MB / 0.5517 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004262/0.3836, allocations: 107.7 kB / 0.5518 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009972/0.3936, allocations: 4.984 MB / 0.5566 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008315/0.402, allocations: 2.505 MB / 0.5591 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.406, allocations: 1.248 MB / 0.5603 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01318/0.4192, allocations: 7.925 MB / 0.568 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.4294, allocations: 5.949 MB / 0.5738 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005852/0.4353, allocations: 2.512 MB / 0.5763 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006553/0.4419, allocations: 3.443 MB / 0.5797 GB, free: 344 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002445/0.4444, allocations: 0.5352 MB / 0.5802 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.4491, allocations: 1.541 MB / 0.5817 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005125/0.4543, allocations: 3.149 MB / 0.5848 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009096/0.4634, allocations: 3.465 MB / 0.5882 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.4789, allocations: 10.78 MB / 0.5987 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.479, allocations: 0 / 0.5987 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.479, allocations: 4 kB / 0.5987 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004887/0.4795, allocations: 4 kB / 0.5987 GB, free: 12.79 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.02391/0.5034, allocations: 7.498 MB / 0.606 GB, free: 5.207 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5035, allocations: 12.03 kB / 0.606 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.5194, allocations: 3.038 MB / 0.609 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.5332, allocations: 4.813 MB / 0.6137 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004161/0.5337, allocations: 353.7 kB / 0.614 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/0.5359, allocations: 495.8 kB / 0.6145 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/0.567, allocations: 14.25 MB / 0.6284 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003856/0.5675, allocations: 83.23 kB / 0.6285 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001875/0.5694, allocations: 227.8 kB / 0.6287 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004753/0.5741, allocations: 2.531 MB / 0.6312 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/0.5984, allocations: 11.77 MB / 0.6427 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07298/0.6714, allocations: 55.67 MB / 0.6971 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.6837, allocations: 4.691 MB / 0.7016 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004257/0.688, allocations: 2.935 MB / 0.7045 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.6882, allocations: 36.95 kB / 0.7045 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.6883, allocations: 56.23 kB / 0.7046 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 9.688e-06/0.6883, allocations: 11.98 kB / 0.7046 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.3645/1.053, allocations: 23.23 MB / 0.7273 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.053, allocations: 255.9 kB / 0.7275 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/1.065, allocations: 6.706 MB / 0.7341 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005427/1.065, allocations: 55.95 kB / 0.7341 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002907/1.068, allocations: 4.465 MB / 0.7385 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.069, allocations: 0.8354 MB / 0.7393 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002273/1.072, allocations: 1.666 MB / 0.7409 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/1.072, allocations: 308.7 kB / 0.7412 GB, free: 151 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/1.075, allocations: 2.886 MB / 0.744 GB, free: 150 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005587/1.081, allocations: 7.79 MB / 0.7516 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.091, allocations: 11.42 MB / 0.7628 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/1.091, allocations: 56.56 kB / 0.7629 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02141/1.113, allocations: 11.89 MB / 0.7745 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002481/1.113, allocations: 77 kB / 0.7745 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003598/1.113, allocations: 172 kB / 0.7747 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004677/1.118, allocations: 1.769 MB / 0.7764 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/1.124, allocations: 1.914 MB / 0.7783 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.137, allocations: 12.41 MB / 0.7904 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007938/1.145, allocations: 451.1 kB / 0.7909 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/1.147, allocations: 488 kB / 0.7913 GB, free: 100.2 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.006687/1.154, allocations: 2.96 MB / 0.7942 GB, free: 97.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/1.156, allocations: 0.5372 MB / 0.7947 GB, free: 96.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009026/1.165, allocations: 4.837 MB / 0.7995 GB, free: 91.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-05/1.165, allocations: 24 kB / 0.7995 GB, free: 91.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.301e-05/1.165, allocations: 11.94 kB / 0.7995 GB, free: 91.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/1.165, allocations: 11.95 kB / 0.7995 GB, free: 91.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.191, allocations: 11.06 MB / 0.8103 GB, free: 80.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/1.191, allocations: 0 / 0.8103 GB, free: 80.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/1.193, allocations: 391.4 kB / 0.8107 GB, free: 80.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003962/1.197, allocations: 1.476 MB / 0.8121 GB, free: 78.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000386/1.197, allocations: 43.92 kB / 0.8122 GB, free: 78.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/1.208, allocations: 11.48 MB / 0.8234 GB, free: 66.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.208, allocations: 3.938 kB / 0.8234 GB, free: 66.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.221, allocations: 7.936 MB / 0.8311 GB, free: 58.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/1.223, allocations: 0.6111 MB / 0.8317 GB, free: 58.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001711/1.224, allocations: 35.94 kB / 0.8318 GB, free: 58.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003212/1.228, allocations: 135.3 kB / 0.8319 GB, free: 58.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/1.228, allocations: 121.4 kB / 0.832 GB, free: 57.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/1.229, allocations: 55.94 kB / 0.8321 GB, free: 57.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007647/1.236, allocations: 4.277 MB / 0.8362 GB, free: 53.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.533e-06/1.236, allocations: 0 / 0.8362 GB, free: 53.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00904/1.245, allocations: 1.458 MB / 0.8377 GB, free: 52.18 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.00078/1.246, allocations: 165.6 kB / 0.8378 GB, free: 52.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.256, allocations: 7.07 MB / 0.8447 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.256, allocations: 0 / 0.8447 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/1.259, allocations: 2.278 MB / 0.8469 GB, free: 42.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006141/1.266, allocations: 0.7598 MB / 0.8477 GB, free: 41.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/1.291, allocations: 14.1 MB / 0.8614 GB, free: 27.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007076/1.298, allocations: 4.477 MB / 0.8658 GB, free: 23.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.3, allocations: 399.4 kB / 0.8662 GB, free: 22.86 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/1.3, allocations: 0 / 0.8662 GB, free: 22.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.4808/1.781, allocations: 166.3 MB / 1.029 GB, free: 144.8 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