Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008475/0.0008477, allocations: 96.58 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009477/0.0009477, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1971/0.1971, allocations: 46.19 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002546, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 63.55 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2719/0.3849, allocations: 70.88 MB / 0.5416 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0336/0.4185, allocations: 14.34 MB / 0.5556 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0148/0.4334, allocations: 315.5 kB / 0.5559 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.4357, allocations: 0.5352 MB / 0.5564 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006433/0.4422, allocations: 2.072 MB / 0.5585 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.4449, allocations: 0.9468 MB / 0.5594 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.4558, allocations: 9.152 MB / 0.5683 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.4682, allocations: 7.774 MB / 0.5759 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.472, allocations: 1.583 MB / 0.5775 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004397/0.4764, allocations: 2.62 MB / 0.58 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.4777, allocations: 188 kB / 0.5802 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.481, allocations: 1.279 MB / 0.5815 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003175/0.4842, allocations: 2.333 MB / 0.5837 GB, free: 176 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004641/0.4888, allocations: 2.66 MB / 0.5863 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008457/0.4973, allocations: 7.478 MB / 0.5936 GB, free: 5.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4974, allocations: 4 kB / 0.5936 GB, free: 5.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4974, allocations: 0 / 0.5936 GB, free: 5.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003129/0.4977, allocations: 0 / 0.5936 GB, free: 5.988 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.01298/0.5107, allocations: 5.487 MB / 0.599 GB, free: 436 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5108, allocations: 9.953 kB / 0.599 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.5227, allocations: 2.633 MB / 0.6016 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008233/0.5309, allocations: 3.807 MB / 0.6053 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.5313, allocations: 333 kB / 0.6056 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.5329, allocations: 452 kB / 0.606 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/0.5611, allocations: 14.02 MB / 0.6197 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002754/0.5614, allocations: 63.42 kB / 0.6198 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/0.5627, allocations: 211.8 kB / 0.62 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004683/0.5674, allocations: 2.535 MB / 0.6225 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/0.593, allocations: 12.16 MB / 0.6343 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06416/0.6572, allocations: 51.98 MB / 0.6851 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/0.6734, allocations: 6.256 MB / 0.6912 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005093/0.6786, allocations: 3.863 MB / 0.695 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2471/0.9257, allocations: 13.21 MB / 0.7079 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.741e-05/0.9259, allocations: 57.88 kB / 0.708 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 7.504e-06/0.9259, allocations: 4.438 kB / 0.708 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.08224/1.008, allocations: 29.41 MB / 0.7367 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/1.008, allocations: 217 kB / 0.7369 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00767/1.016, allocations: 4.95 MB / 0.7417 GB, free: 169 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005608/1.017, allocations: 65.64 kB / 0.7418 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/1.019, allocations: 3.792 MB / 0.7455 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.02, allocations: 1.017 MB / 0.7465 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/1.021, allocations: 0.6392 MB / 0.7471 GB, free: 164 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/1.021, allocations: 309.1 kB / 0.7474 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00455/1.026, allocations: 3.29 MB / 0.7506 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/1.032, allocations: 7.345 MB / 0.7578 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/1.043, allocations: 11.39 MB / 0.7689 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/1.043, allocations: 40 kB / 0.7689 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02159/1.065, allocations: 12.49 MB / 0.7811 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/1.065, allocations: 67.98 kB / 0.7812 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/1.065, allocations: 144 kB / 0.7813 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005537/1.071, allocations: 2.246 MB / 0.7835 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/1.077, allocations: 1.692 MB / 0.7852 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/1.091, allocations: 13.46 MB / 0.7983 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/1.097, allocations: 439.2 kB / 0.7987 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/1.098, allocations: 439.9 kB / 0.7992 GB, free: 106.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (888): * Single equations (assignments): 883 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004973/1.103, allocations: 2.684 MB / 0.8018 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.105, allocations: 450.3 kB / 0.8022 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.117, allocations: 7 MB / 0.8091 GB, free: 96.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-05/1.117, allocations: 31.59 kB / 0.8091 GB, free: 96.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/1.117, allocations: 13.44 kB / 0.8091 GB, free: 96.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/1.117, allocations: 11.95 kB / 0.8091 GB, free: 96.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/1.143, allocations: 14.34 MB / 0.8231 GB, free: 82.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/1.143, allocations: 4 kB / 0.8231 GB, free: 82.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.145, allocations: 455.3 kB / 0.8236 GB, free: 81.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005236/1.15, allocations: 2.03 MB / 0.8255 GB, free: 79.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005678/1.151, allocations: 44 kB / 0.8256 GB, free: 79.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/1.166, allocations: 12.72 MB / 0.838 GB, free: 66.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.166, allocations: 0 / 0.838 GB, free: 66.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/1.184, allocations: 10.99 MB / 0.8487 GB, free: 55.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.185, allocations: 0.5075 MB / 0.8492 GB, free: 54.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/1.187, allocations: 40.78 kB / 0.8493 GB, free: 54.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.19, allocations: 219.7 kB / 0.8495 GB, free: 54.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008435/1.191, allocations: 150.7 kB / 0.8496 GB, free: 54.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004902/1.191, allocations: 75.92 kB / 0.8497 GB, free: 54.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005482/1.197, allocations: 3.11 MB / 0.8527 GB, free: 51.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.2e-07/1.197, allocations: 0 / 0.8527 GB, free: 51.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007903/1.205, allocations: 1.44 MB / 0.8541 GB, free: 49.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (212): * Single equations (assignments): 207 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/1.206, allocations: 178.7 kB / 0.8543 GB, free: 49.76 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01257/1.218, allocations: 8.029 MB / 0.8621 GB, free: 41.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.218, allocations: 0.5625 kB / 0.8621 GB, free: 41.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/1.225, allocations: 3.409 MB / 0.8655 GB, free: 38.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/1.23, allocations: 0.6021 MB / 0.8661 GB, free: 37.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02498/1.255, allocations: 16.84 MB / 0.8825 GB, free: 20.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005935/1.261, allocations: 4.163 MB / 0.8866 GB, free: 16.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.263, allocations: 371.4 kB / 0.8869 GB, free: 16.28 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/1.263, allocations: 0 / 0.8869 GB, free: 16.28 MB / 0.5294 GB Notification: Performance of Templates: time 0.3868/1.65, allocations: 126.4 MB / 1.01 GB, free: 93.12 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches