Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001654, allocations: 183.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 92.41 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.532/0.532, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004714, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1361, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4434/0.5796, allocations: 80.08 MB / 0.5569 GB, free: 9.566 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06102/0.6406, allocations: 18.02 MB / 0.5745 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02236/0.6631, allocations: 393.3 kB / 0.5749 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01726/0.6804, allocations: 4.023 MB / 0.5788 GB, free: 11.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05328/0.7337, allocations: 11.37 MB / 0.5899 GB, free: 4.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007543/0.7413, allocations: 0.9018 MB / 0.5908 GB, free: 3.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.07715/0.8185, allocations: 27.31 MB / 0.6175 GB, free: 8.102 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01599/0.8346, allocations: 7.034 MB / 0.6244 GB, free: 1.031 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.8392, allocations: 1.565 MB / 0.6259 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005369/0.8446, allocations: 2.2 MB / 0.628 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.8464, allocations: 243.9 kB / 0.6283 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004482/0.8509, allocations: 1.089 MB / 0.6293 GB, free: 11.93 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005287/0.8563, allocations: 2.56 MB / 0.6318 GB, free: 9.359 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.8596, allocations: 1.337 MB / 0.6331 GB, free: 8.012 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.8761, allocations: 9.017 MB / 0.6419 GB, free: 14.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8762, allocations: 4 kB / 0.6419 GB, free: 14.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.8762, allocations: 0 / 0.6419 GB, free: 14.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005164/0.8768, allocations: 0 / 0.6419 GB, free: 14.97 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02585/0.9026, allocations: 6.718 MB / 0.6485 GB, free: 8.172 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9027, allocations: 11.97 kB / 0.6485 GB, free: 8.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09178/0.9945, allocations: 8.295 MB / 0.6566 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/1.01, allocations: 4.587 MB / 0.6611 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005866/1.011, allocations: 382.9 kB / 0.6615 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/1.013, allocations: 0.4997 MB / 0.662 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3886/1.402, allocations: 16.42 MB / 0.678 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004868/1.403, allocations: 65.98 kB / 0.6781 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002526/1.405, allocations: 249 kB / 0.6783 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0105/1.416, allocations: 3.153 MB / 0.6814 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04707/1.463, allocations: 14.03 MB / 0.6951 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/1.577, allocations: 60.42 MB / 0.7541 GB, free: 88.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03478/1.612, allocations: 8.109 MB / 0.762 GB, free: 82.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/1.612, allocations: 54.78 kB / 0.762 GB, free: 82.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/1.612, allocations: 64.56 kB / 0.7621 GB, free: 82.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 7.694e-06/1.612, allocations: 0 / 0.7621 GB, free: 82.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.1568/1.769, allocations: 35.02 MB / 0.7963 GB, free: 47.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.769, allocations: 218 kB / 0.7965 GB, free: 46.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/1.783, allocations: 6.597 MB / 0.803 GB, free: 40.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.785, allocations: 77.7 kB / 0.803 GB, free: 40.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003534/1.788, allocations: 4.372 MB / 0.8073 GB, free: 35.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002279/1.79, allocations: 1.235 MB / 0.8085 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/1.792, allocations: 172 kB / 0.8087 GB, free: 34.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007116/1.793, allocations: 0.6705 MB / 0.8093 GB, free: 33.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01022/1.803, allocations: 3.854 MB / 0.8131 GB, free: 29.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0135/1.816, allocations: 8.66 MB / 0.8215 GB, free: 18.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/1.83, allocations: 5.65 MB / 0.8271 GB, free: 13.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/1.83, allocations: 52 kB / 0.8271 GB, free: 13.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03861/1.869, allocations: 13.67 MB / 0.8405 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/1.869, allocations: 76 kB / 0.8405 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002712/1.869, allocations: 172.1 kB / 0.8407 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008388/1.878, allocations: 1.797 MB / 0.8425 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01418/1.892, allocations: 2.031 MB / 0.8444 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02812/1.92, allocations: 12.36 MB / 0.8565 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/1.931, allocations: 0.5265 MB / 0.857 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/1.933, allocations: 0.5031 MB / 0.8575 GB, free: 13.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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 (1046): * Single equations (assignments): 1041 * 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.009861/1.943, allocations: 3.157 MB / 0.8606 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/1.945, allocations: 0.5515 MB / 0.8611 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0262/1.971, allocations: 7.706 MB / 0.8687 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.97e-05/1.971, allocations: 36 kB / 0.8687 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.971, allocations: 12 kB / 0.8687 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/1.971, allocations: 24.45 kB / 0.8687 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4063/2.378, allocations: 16.68 MB / 0.885 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/2.378, allocations: 3.094 kB / 0.885 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006299/2.384, allocations: 0.5969 MB / 0.8856 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007115/2.391, allocations: 1.53 MB / 0.8871 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009951/2.392, allocations: 62.36 kB / 0.8872 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/2.416, allocations: 11.59 MB / 0.8985 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/2.416, allocations: 6.219 kB / 0.8985 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03387/2.45, allocations: 13.12 MB / 0.9113 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004929/2.455, allocations: 1.238 MB / 0.9125 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002169/2.457, allocations: 59.47 kB / 0.9126 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006393/2.464, allocations: 265.8 kB / 0.9128 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001569/2.465, allocations: 206.3 kB / 0.913 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004605/2.466, allocations: 87.55 kB / 0.9131 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01117/2.477, allocations: 4.234 MB / 0.9172 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/2.477, allocations: 0 / 0.9172 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01136/2.488, allocations: 1.708 MB / 0.9189 GB, free: 135.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.001634/2.49, allocations: 221.1 kB / 0.9191 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02374/2.514, allocations: 9.442 MB / 0.9283 GB, free: 132 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/2.514, allocations: 2.094 kB / 0.9283 GB, free: 132 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/2.526, allocations: 3.945 MB / 0.9322 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00635/2.532, allocations: 0.6678 MB / 0.9328 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04278/2.575, allocations: 19.34 MB / 0.9517 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008949/2.584, allocations: 4.993 MB / 0.9566 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003691/2.588, allocations: 480.7 kB / 0.9571 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/2.588, allocations: 0 / 0.9571 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.6183/3.206, allocations: 148.6 MB / 1.102 GB, free: 130.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches