Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 116 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 200.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.72/2.72, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4319/0.4319, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 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.002544/0.002544, allocations: 77.44 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2256, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.02869/0.2544, allocations: 14.23 MB / 0.5025 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.2724, allocations: 4.665 MB / 0.507 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/0.2769, allocations: 95.75 kB / 0.5071 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01754/0.2946, allocations: 3.773 MB / 0.5108 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.3115, allocations: 2.416 MB / 0.5132 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.3165, allocations: 0.9982 MB / 0.5141 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02436/0.3409, allocations: 6.022 MB / 0.52 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.3519, allocations: 4.738 MB / 0.5247 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01105/0.363, allocations: 2.118 MB / 0.5267 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008101/0.3712, allocations: 2.893 MB / 0.5295 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003041/0.3743, allocations: 460 kB / 0.53 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4699/0.8443, allocations: 1.469 MB / 0.5314 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008544/0.8529, allocations: 2.702 MB / 0.5341 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01697/0.87, allocations: 3.027 MB / 0.537 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03263/0.9027, allocations: 9.653 MB / 0.5464 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.9028, allocations: 0 / 0.5464 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.98e-06/0.9028, allocations: 0.5 kB / 0.5464 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005619/0.9034, allocations: 3.188 kB / 0.5464 GB, free: 10.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.03948/0.9429, allocations: 6.542 MB / 0.5528 GB, free: 7.531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.253e-05/0.943, allocations: 16.91 kB / 0.5529 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02567/0.9687, allocations: 2.664 MB / 0.5555 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02841/0.9971, allocations: 4.07 MB / 0.5594 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007563/0.998, allocations: 315 kB / 0.5597 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008656/1.007, allocations: 409.8 kB / 0.5601 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05189/1.059, allocations: 13.01 MB / 0.5728 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004485/1.059, allocations: 61.48 kB / 0.5729 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00291/1.062, allocations: 198.1 kB / 0.5731 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007819/1.07, allocations: 2.502 MB / 0.5755 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03968/1.11, allocations: 10.84 MB / 0.5861 GB, free: 4.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1865/1.296, allocations: 49.93 MB / 0.6349 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/1.316, allocations: 4.55 MB / 0.6393 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0067/1.323, allocations: 2.46 MB / 0.6417 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03197/1.355, allocations: 6.736 MB / 0.6483 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.349e-05/1.355, allocations: 55.03 kB / 0.6483 GB, free: 3.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 9.689e-06/1.355, allocations: 0 / 0.6483 GB, free: 3.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.1225/1.478, allocations: 19.4 MB / 0.6673 GB, free: 136 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002376/1.478, allocations: 227.2 kB / 0.6675 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02479/1.503, allocations: 5.921 MB / 0.6733 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.005058/1.508, allocations: 60.91 kB / 0.6733 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.007039/1.515, allocations: 4.061 MB / 0.6773 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002367/1.518, allocations: 0.7757 MB / 0.6781 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01048/1.528, allocations: 1.538 MB / 0.6796 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.529, allocations: 305.1 kB / 0.6798 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009901/1.539, allocations: 2.634 MB / 0.6824 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0174/1.556, allocations: 7.163 MB / 0.6894 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02727/1.583, allocations: 10.51 MB / 0.6997 GB, free: 11.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003198/1.584, allocations: 44 kB / 0.6997 GB, free: 11.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.06365/1.651, allocations: 10.56 MB / 0.71 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004824/1.652, allocations: 80.22 kB / 0.7101 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000544/1.653, allocations: 156 kB / 0.7103 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00847/1.661, allocations: 1.236 MB / 0.7115 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/1.675, allocations: 1.723 MB / 0.7132 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/1.698, allocations: 8.496 MB / 0.7214 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01524/1.713, allocations: 407.5 kB / 0.7218 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003361/1.717, allocations: 456 kB / 0.7223 GB, free: 3.938 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (918): * Single equations (assignments): 911 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01371/1.731, allocations: 2.702 MB / 0.7249 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003689/1.734, allocations: 481.7 kB / 0.7254 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/1.753, allocations: 4.029 MB / 0.7293 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001335/1.753, allocations: 24 kB / 0.7293 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.23e-05/1.753, allocations: 4 kB / 0.7293 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/1.754, allocations: 15.81 kB / 0.7293 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04723/1.801, allocations: 9.551 MB / 0.7387 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.653e-05/1.801, allocations: 7.922 kB / 0.7387 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/1.804, allocations: 323.5 kB / 0.739 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00572/1.81, allocations: 1.003 MB / 0.74 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008766/1.811, allocations: 47.92 kB / 0.74 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/1.831, allocations: 7.808 MB / 0.7476 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-05/1.832, allocations: 11.92 kB / 0.7477 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02544/1.857, allocations: 6.882 MB / 0.7544 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005687/1.863, allocations: 0.8343 MB / 0.7552 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002843/1.866, allocations: 35.94 kB / 0.7552 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006265/1.872, allocations: 115.8 kB / 0.7553 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/1.873, allocations: 117 kB / 0.7554 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007238/1.874, allocations: 62.97 kB / 0.7555 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.5142/2.388, allocations: 3.776 MB / 0.7592 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.033e-06/2.388, allocations: 0 / 0.7592 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.02109/2.41, allocations: 1.291 MB / 0.7605 GB, free: 204.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/2.411, allocations: 168.4 kB / 0.7606 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0266/2.438, allocations: 6.34 MB / 0.7668 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-05/2.438, allocations: 0.9688 kB / 0.7668 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/2.449, allocations: 1.909 MB / 0.7687 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01319/2.462, allocations: 0.6281 MB / 0.7693 GB, free: 203 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08341/2.545, allocations: 12.56 MB / 0.7815 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01761/2.563, allocations: 4.101 MB / 0.7856 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/2.566, allocations: 377.7 kB / 0.7859 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.363e-06/2.566, allocations: 0 / 0.7859 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.3509/2.917, allocations: 125.3 MB / 0.9083 GB, free: 77.35 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches