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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009713/0.0009714, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.283/1.283, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007804/0.0007805, allocations: 94.39 kB / 267.1 MB, free: 9.277 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.3215/0.3215, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.429e-05, allocations: 0 / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4547, allocations: 105.3 MB / 0.5757 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.455, allocations: 83.2 kB / 0.5758 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5235/0.9785, allocations: 129.1 MB / 0.7018 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9785, allocations: 1.219 kB / 0.7018 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002341/0.9788, allocations: 116.8 kB / 0.7019 GB, free: 87.44 MB / 0.4948 GB 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.01439/0.9932, allocations: 6.244 MB / 0.708 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9932, allocations: 9.375 kB / 0.708 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/1.017, allocations: 6.457 MB / 0.7143 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/1.035, allocations: 8.579 MB / 0.7227 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/1.035, allocations: 439 kB / 0.7231 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/1.037, allocations: 0.5765 MB / 0.7237 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02685/1.064, allocations: 15.31 MB / 0.7386 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/1.064, allocations: 57.81 kB / 0.7387 GB, free: 81.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009813/1.065, allocations: 265.8 kB / 0.7389 GB, free: 81.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002181/1.067, allocations: 1.698 MB / 0.7406 GB, free: 81.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/1.095, allocations: 14.64 MB / 0.7549 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06758/1.163, allocations: 56.38 MB / 0.81 GB, free: 48.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/1.178, allocations: 7.955 MB / 0.8177 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005102/1.183, allocations: 4.693 MB / 0.8223 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.185, allocations: 2.209 MB / 0.8245 GB, free: 41.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.185, allocations: 67.7 kB / 0.8245 GB, free: 41.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=367): time 5.912e-06/1.185, allocations: 3.938 kB / 0.8245 GB, free: 41.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419): time 0.08234/1.267, allocations: 33.41 MB / 0.8572 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.267, allocations: 120 kB / 0.8573 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006231/1.273, allocations: 3.838 MB / 0.861 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008555/1.274, allocations: 85.7 kB / 0.8611 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.276, allocations: 3.922 MB / 0.8649 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/1.278, allocations: 1.49 MB / 0.8664 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009773/1.279, allocations: 153.3 kB / 0.8665 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005066/1.28, allocations: 0.6322 MB / 0.8671 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005013/1.285, allocations: 3.833 MB / 0.8709 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00824/1.293, allocations: 7.634 MB / 0.8783 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00817/1.301, allocations: 5.415 MB / 0.8836 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/1.301, allocations: 43.95 kB / 0.8837 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.286/1.587, allocations: 13.96 MB / 0.8973 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/1.587, allocations: 57.47 kB / 0.8974 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.587, allocations: 131.8 kB / 0.8975 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007194/1.595, allocations: 2.634 MB / 0.9001 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007013/1.602, allocations: 1.945 MB / 0.902 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/1.617, allocations: 13.6 MB / 0.9152 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006216/1.623, allocations: 489.3 kB / 0.9157 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009953/1.624, allocations: 428.7 kB / 0.9161 GB, free: 86.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 597 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (923): * Single equations (assignments): 915 * 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.001258/1.626, allocations: 0.6624 MB / 0.9168 GB, free: 86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007505/1.626, allocations: 469.4 kB / 0.9172 GB, free: 86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/1.644, allocations: 10.36 MB / 0.9273 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.836e-05/1.644, allocations: 65.25 kB / 0.9274 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.644, allocations: 7.875 kB / 0.9274 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/1.644, allocations: 21.55 kB / 0.9274 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03478/1.679, allocations: 20.99 MB / 0.9479 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/1.679, allocations: 10 kB / 0.9479 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/1.682, allocations: 0.7888 MB / 0.9487 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00626/1.689, allocations: 2.405 MB / 0.9511 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008959/1.689, allocations: 85.23 kB / 0.9511 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/1.703, allocations: 12.36 MB / 0.9632 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.703, allocations: 15.03 kB / 0.9632 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/1.724, allocations: 16.15 MB / 0.979 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003497/1.727, allocations: 1.155 MB / 0.9801 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.728, allocations: 80.33 kB / 0.9802 GB, free: 69.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.731, allocations: 299.8 kB / 0.9805 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006122/1.732, allocations: 265.3 kB / 0.9807 GB, free: 69.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.732, allocations: 114.3 kB / 0.9808 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003379/1.735, allocations: 2.685 MB / 0.9835 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/1.735, allocations: 0 / 0.9835 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005462/1.741, allocations: 1.654 MB / 0.9851 GB, free: 68.29 MB / 0.5105 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 () * 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.0005081/1.741, allocations: 236.5 kB / 0.9853 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.754, allocations: 9.618 MB / 0.9947 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.754, allocations: 0 / 0.9947 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005009/1.759, allocations: 4.201 MB / 0.9988 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.762, allocations: 0.6303 MB / 0.9994 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.782, allocations: 13.35 MB / 1.012 GB, free: 55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00529/1.787, allocations: 4.748 MB / 1.017 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006585/1.794, allocations: 2.736 MB / 1.02 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.795, allocations: 352.1 kB / 1.02 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/1.795, allocations: 352 / 1.02 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.3337/2.129, allocations: 65.24 MB / 1.084 GB, free: 101.7 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile (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) 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