Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 201 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007678/0.0007678, allocations: 103.2 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1758/0.1758, allocations: 44.84 MB / 392 MB, free: 9.348 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000214/0.000214, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08109/0.08131, allocations: 62.96 MB / 0.5153 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2305/0.3118, allocations: 79.49 MB / 0.593 GB, free: 14.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03512/0.347, allocations: 16.33 MB / 0.6089 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01351/0.3605, allocations: 379.1 kB / 0.6093 GB, free: 13.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01127/0.3718, allocations: 4.238 MB / 0.6134 GB, free: 9.062 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02787/0.3997, allocations: 12.16 MB / 0.6253 GB, free: 12.86 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.4041, allocations: 0.9206 MB / 0.6262 GB, free: 11.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.06753/0.4716, allocations: 62.57 MB / 0.6873 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009578/0.4812, allocations: 7.023 MB / 0.6941 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.4843, allocations: 1.755 MB / 0.6959 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.4879, allocations: 2.679 MB / 0.6985 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009302/0.4889, allocations: 203.9 kB / 0.6987 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.4914, allocations: 1.092 MB / 0.6997 GB, free: 488 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.4942, allocations: 2.412 MB / 0.7021 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.4959, allocations: 1.166 MB / 0.7032 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.5036, allocations: 7.844 MB / 0.7109 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5036, allocations: 0 / 0.7109 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5036, allocations: 4 kB / 0.7109 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003078/0.5039, allocations: 0 / 0.7109 GB, free: 5.016 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.1857/0.6896, allocations: 5.77 MB / 0.7165 GB, free: 174 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6897, allocations: 9.656 kB / 0.7165 GB, free: 174 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.7013, allocations: 2.738 MB / 0.7192 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007975/0.7093, allocations: 3.835 MB / 0.7229 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.7096, allocations: 342.8 kB / 0.7233 GB, free: 172 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.7107, allocations: 465.1 kB / 0.7237 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/0.7338, allocations: 14.74 MB / 0.7381 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.734, allocations: 64.17 kB / 0.7382 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005195/0.7345, allocations: 216.2 kB / 0.7384 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004099/0.7386, allocations: 2.788 MB / 0.7411 GB, free: 164 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.7581, allocations: 12.73 MB / 0.7535 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04414/0.8022, allocations: 53.64 MB / 0.8059 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/0.8147, allocations: 6.243 MB / 0.812 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/0.8179, allocations: 3.85 MB / 0.8158 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/0.8314, allocations: 13.28 MB / 0.8287 GB, free: 74.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8315, allocations: 56.56 kB / 0.8288 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 4.017e-06/0.8315, allocations: 0 / 0.8288 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.06073/0.8922, allocations: 29.61 MB / 0.8577 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.8923, allocations: 206.2 kB / 0.8579 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/0.8971, allocations: 5.012 MB / 0.8628 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003693/0.8975, allocations: 69.64 kB / 0.8629 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.899, allocations: 3.982 MB / 0.8668 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006597/0.8997, allocations: 1.005 MB / 0.8677 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.8999, allocations: 151.4 kB / 0.8679 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002353/0.9002, allocations: 0.624 MB / 0.8685 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.9037, allocations: 3.274 MB / 0.8717 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005032/0.9088, allocations: 7.401 MB / 0.8789 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005108/0.9139, allocations: 4.82 MB / 0.8836 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.513e-05/0.914, allocations: 40 kB / 0.8837 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.0168/0.9308, allocations: 12.54 MB / 0.8959 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.046e-05/0.9309, allocations: 71.98 kB / 0.896 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.931, allocations: 148 kB / 0.8961 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004637/0.9356, allocations: 2.269 MB / 0.8983 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/0.9407, allocations: 1.708 MB / 0.9 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.9569, allocations: 13.47 MB / 0.9131 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/0.9619, allocations: 443.5 kB / 0.9136 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008306/0.9627, allocations: 445.5 kB / 0.914 GB, free: 0.4922 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.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 (900): * Single equations (assignments): 895 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1886/1.151, allocations: 2.794 MB / 0.9167 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009071/1.152, allocations: 456.2 kB / 0.9172 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.164, allocations: 6.994 MB / 0.924 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/1.164, allocations: 29.39 kB / 0.924 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.164, allocations: 13.39 kB / 0.924 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.438e-05/1.164, allocations: 14.44 kB / 0.924 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0227/1.187, allocations: 14.53 MB / 0.9382 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.187, allocations: 1.312 kB / 0.9382 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/1.189, allocations: 450.4 kB / 0.9387 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004556/1.193, allocations: 2.033 MB / 0.9407 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/1.193, allocations: 51.41 kB / 0.9407 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/1.206, allocations: 12.7 MB / 0.9531 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.207, allocations: 0 / 0.9531 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.22, allocations: 10.97 MB / 0.9638 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.221, allocations: 0.5099 MB / 0.9643 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007752/1.222, allocations: 44 kB / 0.9643 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.224, allocations: 220.8 kB / 0.9646 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.224, allocations: 153.8 kB / 0.9647 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.224, allocations: 64 kB / 0.9648 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003488/1.228, allocations: 3.132 MB / 0.9678 GB, free: 143 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/1.228, allocations: 3.781 kB / 0.9678 GB, free: 143 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004846/1.233, allocations: 1.484 MB / 0.9693 GB, free: 141.5 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004135/1.233, allocations: 179.2 kB / 0.9694 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008442/1.242, allocations: 8.045 MB / 0.9773 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.242, allocations: 3.844 kB / 0.9773 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00423/1.246, allocations: 3.414 MB / 0.9806 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/1.249, allocations: 0.6236 MB / 0.9813 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.266, allocations: 16.84 MB / 0.9977 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.27, allocations: 4.349 MB / 1.002 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.271, allocations: 371.4 kB / 1.002 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/1.271, allocations: 0 / 1.002 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.3062/1.577, allocations: 131.8 MB / 1.131 GB, free: 173.6 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches