Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009494, allocations: 96.67 kB / 15.7 MB, free: 468 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.001033/0.001033, allocations: 175.2 kB / 16.57 MB, free: 6.402 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.46/1.46, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3626/0.3626, allocations: 43.53 MB / 314.5 MB, free: 9.023 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.0005478/0.0005479, allocations: 19.98 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1279, allocations: 58.87 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2761/0.404, allocations: 54.67 MB / 497.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03304/0.437, allocations: 12.75 MB / 0.4982 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01379/0.4509, allocations: 271.9 kB / 0.4985 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.4615, allocations: 2.759 MB / 0.5012 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03452/0.496, allocations: 8.027 MB / 0.509 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006454/0.5025, allocations: 0.8981 MB / 0.5099 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02697/0.5295, allocations: 15.82 MB / 0.5253 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007605/0.5372, allocations: 4.996 MB / 0.5302 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.5403, allocations: 1.6 MB / 0.5318 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.5434, allocations: 2.263 MB / 0.534 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006841/0.5441, allocations: 220 kB / 0.5342 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.5461, allocations: 0.9598 MB / 0.5351 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002392/0.5486, allocations: 2.412 MB / 0.5375 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.5505, allocations: 1.205 MB / 0.5387 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007991/0.5585, allocations: 7.801 MB / 0.5463 GB, free: 6.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5585, allocations: 4 kB / 0.5463 GB, free: 6.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5585, allocations: 0 / 0.5463 GB, free: 6.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004035/0.5589, allocations: 0 / 0.5463 GB, free: 6.078 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.01639/0.5753, allocations: 6.431 MB / 0.5526 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5754, allocations: 12.03 kB / 0.5526 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03157/0.607, allocations: 7.074 MB / 0.5595 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.6196, allocations: 4.967 MB / 0.5643 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.62, allocations: 324.2 kB / 0.5647 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/0.6224, allocations: 439.6 kB / 0.5651 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/0.6555, allocations: 15.92 MB / 0.5806 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000275/0.6558, allocations: 59.48 kB / 0.5807 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/0.6575, allocations: 199.8 kB / 0.5809 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006489/0.664, allocations: 3.474 MB / 0.5843 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03116/0.6952, allocations: 14.98 MB / 0.5989 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3333/1.029, allocations: 56.12 MB / 0.6537 GB, free: 105.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/1.045, allocations: 8.194 MB / 0.6617 GB, free: 104.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/1.047, allocations: 2.209 MB / 0.6639 GB, free: 102.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/1.047, allocations: 68.3 kB / 0.6639 GB, free: 102.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 5.68e-06/1.047, allocations: 0 / 0.6639 GB, free: 102.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.09971/1.146, allocations: 40.8 MB / 0.7038 GB, free: 91.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/1.146, allocations: 117.5 kB / 0.7039 GB, free: 91.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005778/1.152, allocations: 4.838 MB / 0.7086 GB, free: 89.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.153, allocations: 84.59 kB / 0.7087 GB, free: 89.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.155, allocations: 3.903 MB / 0.7125 GB, free: 86.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/1.157, allocations: 1.494 MB / 0.714 GB, free: 85.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/1.158, allocations: 150.3 kB / 0.7141 GB, free: 85.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003368/1.158, allocations: 0.6357 MB / 0.7147 GB, free: 84.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004951/1.163, allocations: 3.923 MB / 0.7186 GB, free: 82.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007039/1.17, allocations: 7.7 MB / 0.7261 GB, free: 72.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007347/1.178, allocations: 5.469 MB / 0.7314 GB, free: 67.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-05/1.178, allocations: 40 kB / 0.7315 GB, free: 67.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.0219/1.2, allocations: 14.18 MB / 0.7453 GB, free: 52.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/1.2, allocations: 60 kB / 0.7454 GB, free: 52.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/1.2, allocations: 135.2 kB / 0.7455 GB, free: 52.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006464/1.206, allocations: 2.702 MB / 0.7481 GB, free: 50.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006421/1.213, allocations: 1.782 MB / 0.7499 GB, free: 48.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/1.229, allocations: 14.54 MB / 0.7641 GB, free: 33.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007124/1.236, allocations: 0.4918 MB / 0.7645 GB, free: 33.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.237, allocations: 427.9 kB / 0.765 GB, free: 32.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (920): * Single equations (assignments): 912 * Array equations: 6 * 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 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004957/1.242, allocations: 2.915 MB / 0.7678 GB, free: 29.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008946/1.243, allocations: 473.8 kB / 0.7683 GB, free: 29.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/1.258, allocations: 10.54 MB / 0.7785 GB, free: 18.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-05/1.258, allocations: 74.39 kB / 0.7786 GB, free: 18.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.258, allocations: 12.83 kB / 0.7786 GB, free: 18.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.763e-05/1.258, allocations: 19.92 kB / 0.7786 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03358/1.292, allocations: 21.43 MB / 0.7996 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/1.292, allocations: 11.28 kB / 0.7996 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/1.295, allocations: 0.6825 MB / 0.8002 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006804/1.302, allocations: 2.484 MB / 0.8027 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004909/1.302, allocations: 79.98 kB / 0.8028 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.32, allocations: 13.32 MB / 0.8158 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/1.32, allocations: 23.17 kB / 0.8158 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2941/1.614, allocations: 16.44 MB / 0.8318 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004529/1.619, allocations: 1.184 MB / 0.833 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/1.62, allocations: 81.05 kB / 0.8331 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.624, allocations: 312.3 kB / 0.8334 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006609/1.624, allocations: 259.7 kB / 0.8336 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.625, allocations: 118.4 kB / 0.8337 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004397/1.629, allocations: 3.094 MB / 0.8368 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.629, allocations: 0 / 0.8368 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006892/1.636, allocations: 1.677 MB / 0.8384 GB, free: 149.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * 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%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007792/1.637, allocations: 255.7 kB / 0.8386 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.65, allocations: 9.806 MB / 0.8482 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.65, allocations: 2.875 kB / 0.8482 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006549/1.657, allocations: 4.301 MB / 0.8524 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/1.661, allocations: 0.6373 MB / 0.853 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/1.694, allocations: 18.48 MB / 0.8711 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006769/1.701, allocations: 4.749 MB / 0.8757 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006805/1.707, allocations: 2.752 MB / 0.8784 GB, free: 134 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.709, allocations: 354.1 kB / 0.8787 GB, free: 134 MB / 0.5137 GB Notification: Performance of SimCode: time 1.893e-06/1.709, allocations: 0 / 0.8787 GB, free: 134 MB / 0.5137 GB Notification: Performance of Templates: time 0.09567/1.805, allocations: 66.64 MB / 0.9438 GB, free: 82.75 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches