Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009618/0.0009622, allocations: 95.12 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009832/0.0009834, allocations: 199.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 45.91 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 63.47 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3896/0.5264, allocations: 105.6 MB / 0.5732 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06759/0.5941, allocations: 23.37 MB / 0.596 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03079/0.6249, allocations: 0.5261 MB / 0.5966 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02193/0.6469, allocations: 5.389 MB / 0.6018 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06164/0.7085, allocations: 15.05 MB / 0.6165 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01155/0.7201, allocations: 1.225 MB / 0.6177 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.5411/1.261, allocations: 95.83 MB / 0.7113 GB, free: 93.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01818/1.279, allocations: 9.404 MB / 0.7205 GB, free: 93.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/1.285, allocations: 1.968 MB / 0.7224 GB, free: 93.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005511/1.29, allocations: 2.637 MB / 0.725 GB, free: 93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002188/1.293, allocations: 269.9 kB / 0.7252 GB, free: 93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003742/1.296, allocations: 1.125 MB / 0.7263 GB, free: 93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004031/1.3, allocations: 3.147 MB / 0.7294 GB, free: 93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/1.303, allocations: 1.553 MB / 0.7309 GB, free: 92.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/1.316, allocations: 10.66 MB / 0.7413 GB, free: 89.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.316, allocations: 0 / 0.7413 GB, free: 89.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.475e-06/1.316, allocations: 0 / 0.7413 GB, free: 89.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005637/1.317, allocations: 0 / 0.7413 GB, free: 89.46 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02792/1.345, allocations: 8.227 MB / 0.7494 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.345, allocations: 15.28 kB / 0.7494 GB, free: 84.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07598/1.421, allocations: 14.15 MB / 0.7632 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/1.438, allocations: 6.265 MB / 0.7693 GB, free: 68.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003907/1.438, allocations: 459.3 kB / 0.7697 GB, free: 68.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002949/1.441, allocations: 0.5959 MB / 0.7703 GB, free: 68.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03656/1.478, allocations: 17.79 MB / 0.7877 GB, free: 54.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/1.478, allocations: 89.52 kB / 0.7878 GB, free: 54.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/1.479, allocations: 282.6 kB / 0.7881 GB, free: 54.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004844/1.484, allocations: 3.135 MB / 0.7911 GB, free: 51.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.039/1.523, allocations: 14.65 MB / 0.8054 GB, free: 41.28 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09641/1.62, allocations: 65.68 MB / 0.8696 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.639, allocations: 6.441 MB / 0.8759 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.64, allocations: 0.6524 MB / 0.8765 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.632e-05/1.64, allocations: 67.38 kB / 0.8766 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=239): time 5.881e-06/1.64, allocations: 0 / 0.8766 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=263): time 0.0809/1.721, allocations: 28.2 MB / 0.9041 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/1.721, allocations: 295 kB / 0.9044 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/1.735, allocations: 7.844 MB / 0.912 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008832/1.736, allocations: 65.7 kB / 0.9121 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00545/1.742, allocations: 5.331 MB / 0.9173 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002089/1.744, allocations: 1.014 MB / 0.9183 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007608/1.745, allocations: 168 kB / 0.9185 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000668/1.745, allocations: 0.6655 MB / 0.9191 GB, free: 436 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/1.751, allocations: 3.019 MB / 0.9221 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/1.762, allocations: 8.207 MB / 0.9301 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3517/2.113, allocations: 4.851 MB / 0.9348 GB, free: 235.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002866/2.114, allocations: 57.22 kB / 0.9349 GB, free: 235.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1108) (initialization): time 0.03264/2.146, allocations: 11.96 MB / 0.9465 GB, free: 233.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/2.147, allocations: 82.84 kB / 0.9466 GB, free: 233.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005747/2.147, allocations: 184.7 kB / 0.9468 GB, free: 233.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003991/2.151, allocations: 1.287 MB / 0.948 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008769/2.16, allocations: 1.987 MB / 0.95 GB, free: 233.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/2.174, allocations: 12.68 MB / 0.9624 GB, free: 225.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009943/2.184, allocations: 476.8 kB / 0.9628 GB, free: 225 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/2.186, allocations: 0.5055 MB / 0.9633 GB, free: 224.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 837 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1032): * Single equations (assignments): 1025 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009403/2.196, allocations: 3.516 MB / 0.9668 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/2.197, allocations: 0.6222 MB / 0.9674 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0082/2.205, allocations: 5.05 MB / 0.9723 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-05/2.206, allocations: 37.62 kB / 0.9723 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/2.206, allocations: 11.56 kB / 0.9723 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/2.206, allocations: 12.94 kB / 0.9723 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/2.233, allocations: 13.24 MB / 0.9853 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/2.233, allocations: 0 / 0.9853 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002171/2.235, allocations: 457.7 kB / 0.9857 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/2.238, allocations: 0.9578 MB / 0.9867 GB, free: 216.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/2.238, allocations: 47.67 kB / 0.9867 GB, free: 216 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/2.248, allocations: 11.56 MB / 0.998 GB, free: 205.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.248, allocations: 0 / 0.998 GB, free: 205.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/2.26, allocations: 8.615 MB / 1.006 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/2.263, allocations: 0.7041 MB / 1.007 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/2.264, allocations: 47.95 kB / 1.007 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/2.267, allocations: 158.4 kB / 1.007 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004764/2.267, allocations: 156.3 kB / 1.007 GB, free: 196.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/2.268, allocations: 71.83 kB / 1.008 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009453/2.277, allocations: 5.086 MB / 1.012 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.21e-07/2.277, allocations: 0 / 1.012 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01236/2.29, allocations: 1.684 MB / 1.014 GB, free: 190.4 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 (207): * Single equations (assignments): 200 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009351/2.291, allocations: 201.2 kB / 1.014 GB, free: 190.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0129/2.303, allocations: 7.779 MB / 1.022 GB, free: 182.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/2.303, allocations: 0 / 1.022 GB, free: 182.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/2.307, allocations: 2.726 MB / 1.025 GB, free: 179.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/2.312, allocations: 0.9102 MB / 1.025 GB, free: 178.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/2.346, allocations: 18.96 MB / 1.044 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008515/2.355, allocations: 5.561 MB / 1.049 GB, free: 154.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007295/2.362, allocations: 2.765 MB / 1.052 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/2.364, allocations: 415.4 kB / 1.052 GB, free: 151 MB / 0.6075 GB Notification: Performance of SimCode: time 2.144e-06/2.364, allocations: 0 / 1.052 GB, free: 151 MB / 0.6075 GB Notification: Performance of Templates: time 0.1187/2.482, allocations: 65.19 MB / 1.116 GB, free: 86.14 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches