Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 109.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3342, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01894/0.3532, allocations: 16.3 MB / 0.5476 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.3653, allocations: 5.257 MB / 0.5527 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.3688, allocations: 111.7 kB / 0.5528 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009846/0.3787, allocations: 5.506 MB / 0.5582 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006923/0.3857, allocations: 2.606 MB / 0.5607 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.3884, allocations: 1.182 MB / 0.5619 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.4, allocations: 8.232 MB / 0.5699 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00891/0.409, allocations: 6.914 MB / 0.5767 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/0.4141, allocations: 2.683 MB / 0.5793 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006623/0.4207, allocations: 3.649 MB / 0.5829 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002494/0.4233, allocations: 0.5781 MB / 0.5834 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00408/0.4274, allocations: 1.44 MB / 0.5848 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004769/0.4322, allocations: 3.363 MB / 0.5881 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006938/0.4392, allocations: 3.717 MB / 0.5918 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.4542, allocations: 11.48 MB / 0.603 GB, free: 8.453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.4543, allocations: 0 / 0.603 GB, free: 8.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4543, allocations: 0 / 0.603 GB, free: 8.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003993/0.4547, allocations: 0 / 0.603 GB, free: 8.453 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: 2313 * Number of variables: 2313 Notification: Performance of Generate backend data structure: time 0.02143/0.4761, allocations: 8.039 MB / 0.6108 GB, free: 336 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4762, allocations: 8.031 kB / 0.6108 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.492, allocations: 3.08 MB / 0.6138 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.5045, allocations: 5.009 MB / 0.6187 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.5049, allocations: 398.5 kB / 0.6191 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.5067, allocations: 0.5232 MB / 0.6196 GB, free: 7.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/0.5344, allocations: 15.36 MB / 0.6346 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002643/0.5348, allocations: 79.3 kB / 0.6347 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008818/0.5357, allocations: 251.8 kB / 0.6349 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004734/0.5404, allocations: 2.809 MB / 0.6377 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02482/0.5652, allocations: 12.77 MB / 0.6501 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07473/0.64, allocations: 61.58 MB / 0.7103 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.6541, allocations: 5.643 MB / 0.7158 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2917/0.9459, allocations: 3.79 MB / 0.7195 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/0.9461, allocations: 49.42 kB / 0.7195 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.9462, allocations: 65.98 kB / 0.7196 GB, free: 162 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=229): time 5.901e-06/0.9462, allocations: 0 / 0.7196 GB, free: 162 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.07526/1.021, allocations: 31.32 MB / 0.7502 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/1.022, allocations: 286.8 kB / 0.7505 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00872/1.03, allocations: 7.053 MB / 0.7574 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007395/1.031, allocations: 65.7 kB / 0.7574 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/1.034, allocations: 4.737 MB / 0.762 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.035, allocations: 1.02 MB / 0.763 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002272/1.037, allocations: 1.835 MB / 0.7648 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/1.037, allocations: 301.1 kB / 0.7651 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/1.041, allocations: 3.519 MB / 0.7686 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006076/1.047, allocations: 8.719 MB / 0.7771 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.059, allocations: 13.1 MB / 0.7899 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/1.059, allocations: 52 kB / 0.7899 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02386/1.083, allocations: 14 MB / 0.8036 GB, free: 86.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003492/1.083, allocations: 84 kB / 0.8037 GB, free: 86.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004455/1.084, allocations: 188.2 kB / 0.8038 GB, free: 86.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006579/1.09, allocations: 2.306 MB / 0.8061 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006557/1.097, allocations: 2.065 MB / 0.8081 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/1.113, allocations: 15.56 MB / 0.8233 GB, free: 66.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009361/1.122, allocations: 0.5028 MB / 0.8238 GB, free: 65.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/1.125, allocations: 0.5156 MB / 0.8243 GB, free: 65.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (1082): * Single equations (assignments): 1076 * 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,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009215/1.134, allocations: 3.188 MB / 0.8274 GB, free: 61.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/1.136, allocations: 0.5823 MB / 0.828 GB, free: 61.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.148, allocations: 6.72 MB / 0.8345 GB, free: 54.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.784e-05/1.148, allocations: 28 kB / 0.8346 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/1.148, allocations: 12 kB / 0.8346 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-05/1.148, allocations: 11.95 kB / 0.8346 GB, free: 54.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/1.176, allocations: 14.3 MB / 0.8486 GB, free: 40.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/1.176, allocations: 4 kB / 0.8486 GB, free: 40.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.178, allocations: 467.3 kB / 0.849 GB, free: 39.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005109/1.184, allocations: 2.012 MB / 0.851 GB, free: 37.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000542/1.184, allocations: 40 kB / 0.851 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/1.199, allocations: 14.65 MB / 0.8653 GB, free: 22.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.199, allocations: 4 kB / 0.8653 GB, free: 22.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/1.214, allocations: 10.73 MB / 0.8758 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.217, allocations: 0.6573 MB / 0.8765 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002002/1.219, allocations: 47.78 kB / 0.8765 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003811/1.222, allocations: 183.7 kB / 0.8767 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007976/1.223, allocations: 157.5 kB / 0.8768 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004209/1.224, allocations: 64 kB / 0.8769 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008343/1.232, allocations: 4.495 MB / 0.8813 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.21e-07/1.232, allocations: 0 / 0.8813 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01007/1.242, allocations: 1.647 MB / 0.8829 GB, free: 4.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (204): * Single equations (assignments): 198 * 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 {(4,18,75.0%), (1,11,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.001028/1.243, allocations: 188.1 kB / 0.8831 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01438/1.258, allocations: 8.627 MB / 0.8915 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.258, allocations: 0 / 0.8915 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005665/1.263, allocations: 3.182 MB / 0.8946 GB, free: 8.555 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00768/1.271, allocations: 0.8127 MB / 0.8954 GB, free: 7.75 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03464/1.306, allocations: 15.95 MB / 0.911 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007679/1.314, allocations: 4.809 MB / 0.9157 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.316, allocations: 439.4 kB / 0.9161 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/1.316, allocations: 0 / 0.9161 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of Templates: time 0.4771/1.793, allocations: 182.1 MB / 1.094 GB, free: 93.97 MB / 0.6388 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches