Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 95.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 207.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.2 MB / 245.9 MB, free: 12.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2486/0.2486, allocations: 45.92 MB / 344 MB, free: 12.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 11.98 kB / 417.9 MB, free: 20.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 63.46 MB / 481.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4231/0.5676, allocations: 105.6 MB / 0.5733 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0639/0.6315, allocations: 23.37 MB / 0.5961 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02839/0.66, allocations: 0.5182 MB / 0.5966 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02511/0.6851, allocations: 5.397 MB / 0.6019 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05728/0.7424, allocations: 15.05 MB / 0.6166 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009572/0.752, allocations: 1.221 MB / 0.6178 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.5019/1.254, allocations: 95.86 MB / 0.7114 GB, free: 94.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0162/1.27, allocations: 9.71 MB / 0.7208 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005008/1.275, allocations: 1.976 MB / 0.7228 GB, free: 93.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005003/1.28, allocations: 2.646 MB / 0.7254 GB, free: 93.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00212/1.282, allocations: 270.1 kB / 0.7256 GB, free: 93.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/1.286, allocations: 1.12 MB / 0.7267 GB, free: 93.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004021/1.29, allocations: 3.153 MB / 0.7298 GB, free: 93.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002411/1.293, allocations: 1.56 MB / 0.7313 GB, free: 93.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/1.305, allocations: 10.68 MB / 0.7417 GB, free: 89.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.305, allocations: 0 / 0.7417 GB, free: 89.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.888e-06/1.305, allocations: 4 kB / 0.7417 GB, free: 89.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000562/1.305, allocations: 1.75 kB / 0.7417 GB, free: 89.61 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02463/1.33, allocations: 8.247 MB / 0.7498 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.33, allocations: 8.781 kB / 0.7498 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08791/1.418, allocations: 14.15 MB / 0.7636 GB, free: 73.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02046/1.439, allocations: 6.273 MB / 0.7698 GB, free: 68.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006605/1.439, allocations: 462.1 kB / 0.7702 GB, free: 68.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003356/1.443, allocations: 0.6079 MB / 0.7708 GB, free: 68.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/1.48, allocations: 17.8 MB / 0.7882 GB, free: 54.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005025/1.481, allocations: 83.45 kB / 0.7883 GB, free: 54.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002206/1.483, allocations: 285.1 kB / 0.7885 GB, free: 54.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005099/1.488, allocations: 3.136 MB / 0.7916 GB, free: 51.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03092/1.519, allocations: 14.67 MB / 0.8059 GB, free: 41.19 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08653/1.606, allocations: 65.7 MB / 0.8701 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01912/1.625, allocations: 6.42 MB / 0.8763 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/1.626, allocations: 0.6463 MB / 0.877 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.057e-05/1.626, allocations: 59.69 kB / 0.877 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=231): time 6.903e-06/1.626, allocations: 4 kB / 0.877 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=255): time 0.08837/1.715, allocations: 28.39 MB / 0.9048 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/1.715, allocations: 291.5 kB / 0.905 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01694/1.732, allocations: 7.893 MB / 0.9127 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006651/1.732, allocations: 61.89 kB / 0.9128 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005357/1.738, allocations: 5.354 MB / 0.918 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.74, allocations: 0.9969 MB / 0.919 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/1.741, allocations: 174.1 kB / 0.9192 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.001059/1.742, allocations: 0.6654 MB / 0.9198 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006231/1.748, allocations: 2.976 MB / 0.9227 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/1.76, allocations: 8.175 MB / 0.9307 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2996/2.06, allocations: 4.807 MB / 0.9354 GB, free: 234.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/2.06, allocations: 54.03 kB / 0.9355 GB, free: 234.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.0276/2.088, allocations: 11.9 MB / 0.9471 GB, free: 232.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.088, allocations: 84.47 kB / 0.9472 GB, free: 232.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003571/2.088, allocations: 183.8 kB / 0.9473 GB, free: 232.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004188/2.092, allocations: 1.313 MB / 0.9486 GB, free: 232.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007084/2.099, allocations: 1.937 MB / 0.9505 GB, free: 232.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/2.114, allocations: 12.88 MB / 0.9631 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.125, allocations: 474 kB / 0.9635 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002325/2.127, allocations: 0.5074 MB / 0.964 GB, free: 223.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1022): * Single equations (assignments): 1015 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008609/2.136, allocations: 3.518 MB / 0.9675 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/2.138, allocations: 0.627 MB / 0.9681 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009575/2.147, allocations: 4.968 MB / 0.9729 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/2.147, allocations: 26.66 kB / 0.973 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-05/2.147, allocations: 11.52 kB / 0.973 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/2.148, allocations: 16.67 kB / 0.973 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03053/2.178, allocations: 13.12 MB / 0.9858 GB, free: 215.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/2.178, allocations: 0 / 0.9858 GB, free: 215.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/2.18, allocations: 409.1 kB / 0.9862 GB, free: 215.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/2.183, allocations: 0.9801 MB / 0.9872 GB, free: 215.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002889/2.183, allocations: 43.12 kB / 0.9872 GB, free: 215.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/2.195, allocations: 11.81 MB / 0.9987 GB, free: 204.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/2.195, allocations: 4.031 kB / 0.9987 GB, free: 204.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/2.206, allocations: 8.464 MB / 1.007 GB, free: 197.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/2.208, allocations: 0.7079 MB / 1.008 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/2.21, allocations: 47.83 kB / 1.008 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004523/2.215, allocations: 153.5 kB / 1.008 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008405/2.216, allocations: 159.5 kB / 1.008 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002383/2.216, allocations: 66.7 kB / 1.008 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01027/2.226, allocations: 5.111 MB / 1.013 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/2.226, allocations: 0 / 1.013 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01048/2.237, allocations: 1.686 MB / 1.015 GB, free: 190 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007929/2.238, allocations: 191.1 kB / 1.015 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01101/2.249, allocations: 7.638 MB / 1.022 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/2.249, allocations: 0 / 1.022 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003117/2.252, allocations: 2.683 MB / 1.025 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006335/2.258, allocations: 0.9096 MB / 1.026 GB, free: 178.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03301/2.291, allocations: 18.94 MB / 1.044 GB, free: 159.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008835/2.3, allocations: 5.57 MB / 1.05 GB, free: 154 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006645/2.307, allocations: 2.729 MB / 1.052 GB, free: 151.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/2.308, allocations: 407.4 kB / 1.053 GB, free: 150.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/2.308, allocations: 0 / 1.053 GB, free: 150.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.1076/2.416, allocations: 64.97 MB / 1.116 GB, free: 86.19 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches