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.001243/0.001243, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 76.06 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1555, allocations: 62.45 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.358/0.5135, allocations: 88.29 MB / 0.5545 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05077/0.5643, allocations: 16.87 MB / 0.5709 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.027/0.5914, allocations: 391 kB / 0.5713 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009997/0.6014, allocations: 4.816 MB / 0.576 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009454/0.6109, allocations: 2.336 MB / 0.5783 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003797/0.6148, allocations: 1.174 MB / 0.5794 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.6277, allocations: 8.502 MB / 0.5878 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008907/0.6367, allocations: 6.271 MB / 0.5939 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/0.643, allocations: 2.551 MB / 0.5964 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00681/0.6498, allocations: 3.817 MB / 0.6001 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002234/0.6521, allocations: 0.5352 MB / 0.6006 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/0.6569, allocations: 1.572 MB / 0.6022 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005523/0.6624, allocations: 3.164 MB / 0.6052 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007947/0.6704, allocations: 3.5 MB / 0.6087 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01839/0.6888, allocations: 10.55 MB / 0.619 GB, free: 8.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.6889, allocations: 0 / 0.619 GB, free: 8.215 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6889, allocations: 4 kB / 0.619 GB, free: 8.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005276/0.6895, allocations: 0 / 0.619 GB, free: 8.211 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.02467/0.7142, allocations: 7.494 MB / 0.6263 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.7142, allocations: 12.03 kB / 0.6263 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.7303, allocations: 3.038 MB / 0.6293 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/0.7429, allocations: 4.731 MB / 0.6339 GB, free: 8.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005102/0.7435, allocations: 357.7 kB / 0.6342 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003139/0.7466, allocations: 492 kB / 0.6347 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03568/0.7823, allocations: 14.25 MB / 0.6486 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004107/0.7828, allocations: 79.31 kB / 0.6487 GB, free: 8.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/0.7848, allocations: 231.8 kB / 0.6489 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004726/0.7896, allocations: 2.539 MB / 0.6514 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02714/0.8167, allocations: 11.77 MB / 0.6629 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0754/0.8922, allocations: 55.91 MB / 0.7175 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2885/1.181, allocations: 4.683 MB / 0.722 GB, free: 196 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004919/1.186, allocations: 2.935 MB / 0.7249 GB, free: 194.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/1.186, allocations: 42 kB / 0.7249 GB, free: 194.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/1.186, allocations: 61.77 kB / 0.725 GB, free: 194.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=190): time 4.569e-06/1.186, allocations: 1.031 kB / 0.725 GB, free: 194.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.05999/1.246, allocations: 23.22 MB / 0.7477 GB, free: 186.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/1.246, allocations: 251.8 kB / 0.7479 GB, free: 186.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008384/1.254, allocations: 6.705 MB / 0.7545 GB, free: 184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005187/1.255, allocations: 57.33 kB / 0.7545 GB, free: 183.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002366/1.257, allocations: 4.468 MB / 0.7589 GB, free: 179.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008767/1.258, allocations: 0.8362 MB / 0.7597 GB, free: 179 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/1.26, allocations: 1.669 MB / 0.7613 GB, free: 177.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/1.26, allocations: 308.1 kB / 0.7616 GB, free: 177.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/1.263, allocations: 2.881 MB / 0.7644 GB, free: 174.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004934/1.268, allocations: 7.791 MB / 0.7721 GB, free: 164.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009579/1.278, allocations: 11.43 MB / 0.7832 GB, free: 150.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/1.278, allocations: 48 kB / 0.7833 GB, free: 150.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02318/1.301, allocations: 11.89 MB / 0.7949 GB, free: 138.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/1.302, allocations: 80 kB / 0.7949 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003159/1.302, allocations: 172 kB / 0.7951 GB, free: 138.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00443/1.306, allocations: 1.772 MB / 0.7968 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006156/1.312, allocations: 1.914 MB / 0.7987 GB, free: 134.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.325, allocations: 12.42 MB / 0.8108 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007845/1.333, allocations: 451.2 kB / 0.8113 GB, free: 121.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/1.335, allocations: 488 kB / 0.8117 GB, free: 120.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.01055/1.346, allocations: 2.956 MB / 0.8146 GB, free: 117.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/1.348, allocations: 0.536 MB / 0.8151 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.359, allocations: 4.845 MB / 0.8199 GB, free: 112.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.769e-05/1.359, allocations: 24 kB / 0.8199 GB, free: 112.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.415e-05/1.359, allocations: 13.3 kB / 0.8199 GB, free: 112.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/1.359, allocations: 7.969 kB / 0.8199 GB, free: 112.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/1.385, allocations: 11.09 MB / 0.8307 GB, free: 101.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/1.385, allocations: 0 / 0.8307 GB, free: 101.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.387, allocations: 399.4 kB / 0.8311 GB, free: 100.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003838/1.391, allocations: 1.48 MB / 0.8326 GB, free: 99.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003836/1.391, allocations: 36 kB / 0.8326 GB, free: 99.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/1.403, allocations: 11.49 MB / 0.8438 GB, free: 87.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.403, allocations: 3.938 kB / 0.8438 GB, free: 87.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.417, allocations: 7.931 MB / 0.8516 GB, free: 79.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/1.42, allocations: 0.6114 MB / 0.8522 GB, free: 78.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/1.421, allocations: 35.98 kB / 0.8522 GB, free: 78.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/1.425, allocations: 131.8 kB / 0.8523 GB, free: 78.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005857/1.426, allocations: 125.2 kB / 0.8524 GB, free: 78.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.426, allocations: 51.98 kB / 0.8525 GB, free: 78.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008614/1.435, allocations: 4.281 MB / 0.8567 GB, free: 74.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.435, allocations: 0 / 0.8567 GB, free: 74.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01026/1.445, allocations: 1.455 MB / 0.8581 GB, free: 72.68 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.0006938/1.446, allocations: 170.7 kB / 0.8583 GB, free: 72.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01283/1.458, allocations: 7.93 MB / 0.866 GB, free: 64.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.458, allocations: 0 / 0.866 GB, free: 64.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/1.461, allocations: 2.269 MB / 0.8682 GB, free: 62.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/1.467, allocations: 0.7599 MB / 0.869 GB, free: 61.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/1.496, allocations: 16.43 MB / 0.885 GB, free: 45.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/1.506, allocations: 4.508 MB / 0.8894 GB, free: 40.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008015/1.514, allocations: 2.495 MB / 0.8918 GB, free: 38.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.516, allocations: 351.4 kB / 0.8922 GB, free: 37.7 MB / 0.545 GB Notification: Performance of SimCode: time 2.665e-06/1.516, allocations: 0 / 0.8922 GB, free: 37.7 MB / 0.545 GB Notification: Performance of Templates: time 0.4055/1.922, allocations: 58.65 MB / 0.9495 GB, free: 165.7 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/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