Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008914/0.0008917, allocations: 96.94 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 200.2 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003679, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 63.57 MB / 482.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3796/0.5298, allocations: 69.36 MB / 0.5388 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04049/0.5704, allocations: 14.3 MB / 0.5528 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0237/0.5941, allocations: 330.8 kB / 0.5531 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01641/0.6105, allocations: 3.685 MB / 0.5567 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03836/0.6489, allocations: 10.54 MB / 0.567 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006392/0.6554, allocations: 0.8784 MB / 0.5679 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0835/0.7389, allocations: 62.39 MB / 0.6288 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.7519, allocations: 6.756 MB / 0.6354 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005372/0.7573, allocations: 1.689 MB / 0.637 GB, free: 8.457 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.7629, allocations: 2.652 MB / 0.6396 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001794/0.7647, allocations: 196 kB / 0.6398 GB, free: 5.605 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/0.7686, allocations: 1.096 MB / 0.6409 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00432/0.773, allocations: 2.361 MB / 0.6432 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002785/0.7758, allocations: 1.119 MB / 0.6443 GB, free: 1.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.7861, allocations: 7.564 MB / 0.6517 GB, free: 9.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.7862, allocations: 0 / 0.6517 GB, free: 9.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.7862, allocations: 0 / 0.6517 GB, free: 9.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005509/0.7867, allocations: 0 / 0.6517 GB, free: 9.43 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.01847/0.8052, allocations: 5.661 MB / 0.6572 GB, free: 3.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.8053, allocations: 9.109 kB / 0.6572 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.8176, allocations: 2.687 MB / 0.6598 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.828, allocations: 3.773 MB / 0.6635 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.8284, allocations: 336.7 kB / 0.6638 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/0.8307, allocations: 451.6 kB / 0.6643 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03349/0.8642, allocations: 13.98 MB / 0.6779 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.8646, allocations: 59.42 kB / 0.678 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/0.8664, allocations: 219.8 kB / 0.6782 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004752/0.8712, allocations: 2.543 MB / 0.6807 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/0.8989, allocations: 11.98 MB / 0.6924 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.41/1.309, allocations: 53.47 MB / 0.7446 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/1.325, allocations: 6.538 MB / 0.751 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003989/1.329, allocations: 3.587 MB / 0.7545 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/1.329, allocations: 39.25 kB / 0.7545 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.329, allocations: 72.36 kB / 0.7546 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=218): time 4.308e-06/1.329, allocations: 0 / 0.7546 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=260): time 0.07194/1.401, allocations: 31.58 MB / 0.7854 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/1.401, allocations: 213.9 kB / 0.7856 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006944/1.408, allocations: 5.913 MB / 0.7914 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007346/1.409, allocations: 69.7 kB / 0.7915 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002327/1.411, allocations: 3.996 MB / 0.7954 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.413, allocations: 0.9885 MB / 0.7963 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/1.413, allocations: 156 kB / 0.7965 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002973/1.413, allocations: 0.6364 MB / 0.7971 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/1.418, allocations: 3.435 MB / 0.8004 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005932/1.424, allocations: 7.856 MB / 0.8081 GB, free: 96.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/1.43, allocations: 5.075 MB / 0.8131 GB, free: 90.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-05/1.43, allocations: 44 kB / 0.8131 GB, free: 90.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.02219/1.452, allocations: 13.14 MB / 0.826 GB, free: 77.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/1.452, allocations: 73.88 kB / 0.826 GB, free: 77.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.452, allocations: 156 kB / 0.8262 GB, free: 77.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004823/1.457, allocations: 2.277 MB / 0.8284 GB, free: 75.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006086/1.463, allocations: 1.805 MB / 0.8302 GB, free: 73.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/1.478, allocations: 13.47 MB / 0.8433 GB, free: 59.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006755/1.484, allocations: 487.9 kB / 0.8438 GB, free: 59.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.486, allocations: 460.6 kB / 0.8442 GB, free: 58.78 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (940): * Single equations (assignments): 935 * 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.005126/1.491, allocations: 2.759 MB / 0.8469 GB, free: 56.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.492, allocations: 0.4975 MB / 0.8474 GB, free: 55.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.503, allocations: 7.119 MB / 0.8543 GB, free: 48.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/1.503, allocations: 28.78 kB / 0.8544 GB, free: 48.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.503, allocations: 8 kB / 0.8544 GB, free: 48.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-05/1.503, allocations: 11.95 kB / 0.8544 GB, free: 48.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/1.525, allocations: 14.56 MB / 0.8686 GB, free: 33.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.525, allocations: 4 kB / 0.8686 GB, free: 33.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.527, allocations: 443.3 kB / 0.869 GB, free: 33.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004353/1.531, allocations: 2.035 MB / 0.871 GB, free: 31.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004387/1.532, allocations: 40 kB / 0.8711 GB, free: 31.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/1.545, allocations: 12.73 MB / 0.8835 GB, free: 18.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.545, allocations: 3.938 kB / 0.8835 GB, free: 18.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.56, allocations: 11.27 MB / 0.8945 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/1.562, allocations: 0.5804 MB / 0.8951 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008482/1.563, allocations: 40 kB / 0.8951 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.565, allocations: 227.7 kB / 0.8953 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/1.565, allocations: 151 kB / 0.8955 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.565, allocations: 71.98 kB / 0.8955 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006073/1.572, allocations: 3.754 MB / 0.8992 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.572, allocations: 0 / 0.8992 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008013/1.58, allocations: 1.5 MB / 0.9007 GB, free: 0.5664 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 (202): * Single equations (assignments): 197 * 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.0007451/1.58, allocations: 181.9 kB / 0.9008 GB, free: 396 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.596, allocations: 8.364 MB / 0.909 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.596, allocations: 0 / 0.909 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006686/1.603, allocations: 3.496 MB / 0.9124 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.607, allocations: 0.6387 MB / 0.9131 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.298/1.905, allocations: 15.99 MB / 0.9287 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006406/1.912, allocations: 4.246 MB / 0.9328 GB, free: 182.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007622/1.92, allocations: 2.561 MB / 0.9353 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.921, allocations: 339.9 kB / 0.9356 GB, free: 182.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/1.921, allocations: 0 / 0.9356 GB, free: 182.5 MB / 0.545 GB Notification: Performance of Templates: time 0.09607/2.017, allocations: 59.2 MB / 0.9934 GB, free: 135 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches