Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 175.7 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3272/0.3272, allocations: 43.54 MB / 314.5 MB, free: 9 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005059, allocations: 16 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.2633/0.3812, allocations: 107.8 MB / 0.5376 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05272/0.434, allocations: 23.73 MB / 0.5608 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02194/0.456, allocations: 0.5261 MB / 0.5613 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01713/0.4731, allocations: 5.452 MB / 0.5666 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04269/0.5159, allocations: 15.28 MB / 0.5815 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005977/0.5219, allocations: 1.226 MB / 0.5827 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2984/0.8202, allocations: 52.53 MB / 0.634 GB, free: 50.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.8339, allocations: 9.983 MB / 0.6438 GB, free: 49.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.8382, allocations: 2.154 MB / 0.6459 GB, free: 49.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.8444, allocations: 3.001 MB / 0.6488 GB, free: 49.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00288/0.8473, allocations: 310.8 kB / 0.6491 GB, free: 49.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005074/0.8524, allocations: 1.154 MB / 0.6502 GB, free: 49.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007223/0.8596, allocations: 3.47 MB / 0.6536 GB, free: 49.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005228/0.8649, allocations: 1.733 MB / 0.6553 GB, free: 49.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.8809, allocations: 11.88 MB / 0.6669 GB, free: 45.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.881, allocations: 4.984 kB / 0.6669 GB, free: 45.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.881, allocations: 0 / 0.6669 GB, free: 45.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006348/0.8816, allocations: 4 kB / 0.6669 GB, free: 45.97 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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.02401/0.9056, allocations: 8.875 MB / 0.6756 GB, free: 40.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9057, allocations: 9.156 kB / 0.6756 GB, free: 40.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07673/0.9824, allocations: 14.29 MB / 0.6896 GB, free: 32.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/0.9973, allocations: 7.17 MB / 0.6966 GB, free: 27.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/0.9978, allocations: 0.4887 MB / 0.697 GB, free: 26.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003064/1.001, allocations: 0.6601 MB / 0.6977 GB, free: 26.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03706/1.038, allocations: 19.84 MB / 0.7171 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003297/1.038, allocations: 96.11 kB / 0.7171 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/1.04, allocations: 305.4 kB / 0.7174 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004962/1.045, allocations: 3.611 MB / 0.721 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/1.076, allocations: 16.45 MB / 0.737 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1052/1.181, allocations: 72.46 MB / 0.8078 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/1.202, allocations: 8.284 MB / 0.8159 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009693/1.203, allocations: 0.6694 MB / 0.8165 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.31e-05/1.203, allocations: 69.41 kB / 0.8166 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=311): time 8.025e-06/1.203, allocations: 0 / 0.8166 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=335): time 0.275/1.478, allocations: 32.41 MB / 0.8483 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/1.479, allocations: 297 kB / 0.8485 GB, free: 216.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.491, allocations: 8.31 MB / 0.8566 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009103/1.492, allocations: 73.42 kB / 0.8567 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003508/1.495, allocations: 5.843 MB / 0.8624 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.497, allocations: 1.264 MB / 0.8637 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006647/1.498, allocations: 193.7 kB / 0.8638 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0004574/1.498, allocations: 0.7154 MB / 0.8645 GB, free: 210.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005619/1.504, allocations: 3.651 MB / 0.8681 GB, free: 209 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008072/1.512, allocations: 9.284 MB / 0.8772 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/1.52, allocations: 5.689 MB / 0.8827 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000226/1.521, allocations: 56.75 kB / 0.8828 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.0279/1.549, allocations: 13.75 MB / 0.8962 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.549, allocations: 100 kB / 0.8963 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002594/1.549, allocations: 198.2 kB / 0.8965 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/1.552, allocations: 1.34 MB / 0.8978 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00741/1.56, allocations: 2.244 MB / 0.9 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/1.571, allocations: 12.93 MB / 0.9126 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00774/1.579, allocations: 0.5292 MB / 0.9131 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.58, allocations: 0.567 MB / 0.9137 GB, free: 183.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (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 (1174): * Single equations (assignments): 1167 * 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.006863/1.587, allocations: 3.891 MB / 0.9175 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.588, allocations: 0.6796 MB / 0.9182 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009351/1.598, allocations: 6.494 MB / 0.9245 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/1.598, allocations: 39.33 kB / 0.9245 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.068e-05/1.598, allocations: 9 kB / 0.9245 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.478e-05/1.598, allocations: 16.31 kB / 0.9246 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0278/1.626, allocations: 15.93 MB / 0.9401 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.626, allocations: 3.938 kB / 0.9401 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/1.628, allocations: 0.5522 MB / 0.9407 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/1.631, allocations: 0.9913 MB / 0.9416 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.631, allocations: 67.11 kB / 0.9417 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00946/1.64, allocations: 11.79 MB / 0.9532 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.64, allocations: 0 / 0.9532 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.653, allocations: 10.85 MB / 0.9638 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003789/1.657, allocations: 1.257 MB / 0.965 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.658, allocations: 59.95 kB / 0.9651 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003285/1.661, allocations: 211.7 kB / 0.9653 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005495/1.662, allocations: 190.3 kB / 0.9655 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/1.662, allocations: 83.98 kB / 0.9656 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008889/1.671, allocations: 5.379 MB / 0.9708 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.403e-06/1.671, allocations: 0 / 0.9708 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01125/1.682, allocations: 1.927 MB / 0.9727 GB, free: 136 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (276): * Single equations (assignments): 269 * 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.0008159/1.683, allocations: 221.4 kB / 0.9729 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.695, allocations: 9.218 MB / 0.9819 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.695, allocations: 2.078 kB / 0.9819 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/1.698, allocations: 3.387 MB / 0.9852 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.703, allocations: 0.9351 MB / 0.9861 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/1.736, allocations: 21.6 MB / 1.007 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008266/1.744, allocations: 6.127 MB / 1.013 GB, free: 94.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0077/1.752, allocations: 3.102 MB / 1.016 GB, free: 91.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.753, allocations: 467.4 kB / 1.017 GB, free: 90.79 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/1.753, allocations: 0 / 1.017 GB, free: 90.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.1072/1.861, allocations: 72.78 MB / 1.088 GB, free: 18.07 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches