Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 175.3 kB / 16.72 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0006766/0.0006766, allocations: 92.97 kB / 271.2 MB, free: 8.23 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.273/0.273, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 16 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09077, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2051/0.2959, allocations: 66.88 MB / 0.5446 GB, free: 2.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02597/0.3219, allocations: 13.87 MB / 0.5582 GB, free: 9.266 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01064/0.3326, allocations: 314.6 kB / 0.5585 GB, free: 9.219 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009103/0.3417, allocations: 3.498 MB / 0.5619 GB, free: 7.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02644/0.3682, allocations: 10.38 MB / 0.572 GB, free: 3.469 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.3722, allocations: 0.8452 MB / 0.5729 GB, free: 2.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04021/0.4124, allocations: 35.18 MB / 0.6072 GB, free: 2.977 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00761/0.4201, allocations: 6.24 MB / 0.6133 GB, free: 12.67 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.4227, allocations: 1.728 MB / 0.615 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.4259, allocations: 2.695 MB / 0.6176 GB, free: 8.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006447/0.4266, allocations: 192 kB / 0.6178 GB, free: 8.043 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.4288, allocations: 1.295 MB / 0.6191 GB, free: 6.746 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.4308, allocations: 2.365 MB / 0.6214 GB, free: 4.375 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.4332, allocations: 2.545 MB / 0.6239 GB, free: 1.809 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006321/0.4395, allocations: 7.416 MB / 0.6311 GB, free: 10.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4395, allocations: 0 / 0.6311 GB, free: 10.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4395, allocations: 0 / 0.6311 GB, free: 10.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001713/0.4397, allocations: 0 / 0.6311 GB, free: 10.37 MB / 458.7 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.009415/0.4491, allocations: 5.384 MB / 0.6364 GB, free: 4.914 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4492, allocations: 8.031 kB / 0.6364 GB, free: 4.906 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.4601, allocations: 2.723 MB / 0.639 GB, free: 2.172 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007499/0.4676, allocations: 3.996 MB / 0.6429 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.4678, allocations: 308.1 kB / 0.6432 GB, free: 13.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008817/0.4687, allocations: 419.6 kB / 0.6436 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.4872, allocations: 12.99 MB / 0.6563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.4873, allocations: 63.38 kB / 0.6564 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004528/0.4878, allocations: 203.8 kB / 0.6566 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/0.4913, allocations: 2.495 MB / 0.659 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.5098, allocations: 10.81 MB / 0.6696 GB, free: 1.922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2129/0.7227, allocations: 50.18 MB / 0.7186 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009235/0.732, allocations: 4.544 MB / 0.723 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/0.7347, allocations: 2.439 MB / 0.7254 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.7449, allocations: 6.728 MB / 0.732 GB, free: 98.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.745, allocations: 59.02 kB / 0.732 GB, free: 98.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 5.41e-06/0.745, allocations: 0 / 0.732 GB, free: 98.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.04643/0.7914, allocations: 19.38 MB / 0.7509 GB, free: 90.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.7915, allocations: 225.2 kB / 0.7512 GB, free: 89.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006388/0.7979, allocations: 5.888 MB / 0.7569 GB, free: 86.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/0.7984, allocations: 49.48 kB / 0.757 GB, free: 86.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.8003, allocations: 4.062 MB / 0.7609 GB, free: 83.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007639/0.8011, allocations: 0.7779 MB / 0.7617 GB, free: 82.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.8014, allocations: 152 kB / 0.7618 GB, free: 82.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002557/0.8016, allocations: 0.6196 MB / 0.7624 GB, free: 81.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/0.8048, allocations: 2.603 MB / 0.765 GB, free: 79.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004425/0.8092, allocations: 7.139 MB / 0.772 GB, free: 70.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008209/0.8175, allocations: 10.46 MB / 0.7822 GB, free: 57.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.208e-05/0.8176, allocations: 44 kB / 0.7822 GB, free: 57.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01448/0.832, allocations: 10.51 MB / 0.7925 GB, free: 47.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.8321, allocations: 72 kB / 0.7925 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/0.8323, allocations: 164.1 kB / 0.7927 GB, free: 47.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/0.8349, allocations: 1.254 MB / 0.7939 GB, free: 45.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004775/0.8397, allocations: 1.723 MB / 0.7956 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/0.8471, allocations: 7.914 MB / 0.8033 GB, free: 35.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/0.8526, allocations: 414 kB / 0.8037 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007113/0.8533, allocations: 459.9 kB / 0.8042 GB, free: 35.09 MB / 490.7 MB 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 (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%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003358/0.8567, allocations: 2.7 MB / 0.8068 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006593/0.8573, allocations: 485.6 kB / 0.8073 GB, free: 31.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/0.8633, allocations: 4.015 MB / 0.8112 GB, free: 27.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.8634, allocations: 27.36 kB / 0.8112 GB, free: 27.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.8634, allocations: 4 kB / 0.8112 GB, free: 27.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.8634, allocations: 15.97 kB / 0.8112 GB, free: 27.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.8776, allocations: 9.557 MB / 0.8206 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.8776, allocations: 0 / 0.8206 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.879, allocations: 331.5 kB / 0.8209 GB, free: 17.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/0.8813, allocations: 1.004 MB / 0.8219 GB, free: 16.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.8814, allocations: 32 kB / 0.8219 GB, free: 16.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.8878, allocations: 7.234 MB / 0.829 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8878, allocations: 4 kB / 0.829 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007845/0.8957, allocations: 6.861 MB / 0.8357 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/0.8975, allocations: 0.8461 MB / 0.8365 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/0.898, allocations: 39.98 kB / 0.8365 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.8995, allocations: 119.8 kB / 0.8366 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.8998, allocations: 124.3 kB / 0.8368 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.8999, allocations: 51.94 kB / 0.8368 GB, free: 1.207 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005299/0.9052, allocations: 3.751 MB / 0.8405 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9052, allocations: 3.938 kB / 0.8405 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005784/0.911, allocations: 1.293 MB / 0.8417 GB, free: 12.19 MB / 0.4948 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 (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 {(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.0004649/0.9115, allocations: 174 kB / 0.8419 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009618/0.9211, allocations: 6.308 MB / 0.8481 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.9212, allocations: 0 / 0.8481 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.9238, allocations: 1.898 MB / 0.8499 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005536/0.9294, allocations: 0.5909 MB / 0.8505 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.95, allocations: 14.67 MB / 0.8648 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004216/0.9543, allocations: 4.1 MB / 0.8688 GB, free: 348 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1732/1.128, allocations: 371 kB / 0.8692 GB, free: 152 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/1.128, allocations: 0 / 0.8692 GB, free: 152 MB / 0.5105 GB Notification: Performance of Templates: time 0.1243/1.252, allocations: 123.6 MB / 0.9899 GB, free: 71.71 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches