Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.668/1.668, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2725/0.2725, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 63.91 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1661, allocations: 66 MB / 0.5559 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02411/0.1902, allocations: 18.22 MB / 0.5737 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.2041, allocations: 5.311 MB / 0.5788 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.2077, allocations: 127.4 kB / 0.579 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006164/0.2138, allocations: 3.095 MB / 0.582 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007468/0.2213, allocations: 2.603 MB / 0.5845 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.2239, allocations: 1.018 MB / 0.5855 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3374/0.5613, allocations: 7.664 MB / 0.593 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006644/0.568, allocations: 3.643 MB / 0.5966 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005663/0.5737, allocations: 2.297 MB / 0.5988 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007358/0.581, allocations: 3.514 MB / 0.6022 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.5831, allocations: 452.6 kB / 0.6027 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.5876, allocations: 1.328 MB / 0.604 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005382/0.5929, allocations: 2.87 MB / 0.6068 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009012/0.602, allocations: 3.176 MB / 0.6099 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01934/0.6213, allocations: 9.99 MB / 0.6196 GB, free: 1.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.6213, allocations: 2.719 kB / 0.6196 GB, free: 1.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6213, allocations: 0 / 0.6196 GB, free: 1.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005553/0.6219, allocations: 0 / 0.6196 GB, free: 1.75 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02371/0.6456, allocations: 7.384 MB / 0.6268 GB, free: 12.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6456, allocations: 14.5 kB / 0.6269 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.6626, allocations: 3.874 MB / 0.6306 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.6742, allocations: 4.025 MB / 0.6346 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.6745, allocations: 317.3 kB / 0.6349 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/0.677, allocations: 434.6 kB / 0.6353 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/0.7145, allocations: 15.59 MB / 0.6505 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003325/0.7148, allocations: 68.78 kB / 0.6506 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.716, allocations: 196.8 kB / 0.6508 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008022/0.724, allocations: 3.38 MB / 0.6541 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04087/0.7649, allocations: 14.82 MB / 0.6685 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1112/0.8761, allocations: 55.07 MB / 0.7223 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02188/0.898, allocations: 7.873 MB / 0.73 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009623/0.9076, allocations: 4.468 MB / 0.7344 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/0.911, allocations: 2.209 MB / 0.7365 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.9111, allocations: 73.02 kB / 0.7366 GB, free: 1.188 MB / 0.545 GB Notification: Performance of pre-optimization done (n=367): time 1.141e-05/0.9111, allocations: 0 / 0.7366 GB, free: 1.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=419): time 0.1366/1.048, allocations: 40.24 MB / 0.7759 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.048, allocations: 116 kB / 0.776 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007534/1.055, allocations: 4.288 MB / 0.7802 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/1.057, allocations: 89.7 kB / 0.7803 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/1.06, allocations: 3.941 MB / 0.7841 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003093/1.064, allocations: 1.554 MB / 0.7856 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00319/1.067, allocations: 1.576 MB / 0.7872 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.067, allocations: 309.1 kB / 0.7875 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007323/1.074, allocations: 4.078 MB / 0.7915 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/1.087, allocations: 7.84 MB / 0.7991 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02067/1.107, allocations: 12.88 MB / 0.8117 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/1.107, allocations: 40 kB / 0.8117 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.03205/1.14, allocations: 14.71 MB / 0.8261 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.14, allocations: 60 kB / 0.8262 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/1.14, allocations: 132 kB / 0.8263 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009258/1.149, allocations: 2.937 MB / 0.8292 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007745/1.157, allocations: 1.805 MB / 0.8309 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3732/1.53, allocations: 15.96 MB / 0.8465 GB, free: 222.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008044/1.538, allocations: 0.4954 MB / 0.847 GB, free: 222.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002271/1.54, allocations: 435.2 kB / 0.8474 GB, free: 222.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (942): * Single equations (assignments): 934 * Array equations: 6 * 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 {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007654/1.548, allocations: 2.87 MB / 0.8502 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.549, allocations: 480.5 kB / 0.8507 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/1.574, allocations: 10.9 MB / 0.8613 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000129/1.574, allocations: 65.77 kB / 0.8614 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.421e-05/1.574, allocations: 14.03 kB / 0.8614 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.482e-05/1.574, allocations: 22.22 kB / 0.8614 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03842/1.612, allocations: 21.54 MB / 0.8824 GB, free: 212.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-05/1.612, allocations: 11.88 kB / 0.8825 GB, free: 212.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003759/1.616, allocations: 0.6797 MB / 0.8831 GB, free: 212.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008572/1.625, allocations: 2.73 MB / 0.8858 GB, free: 212.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001568/1.626, allocations: 80.38 kB / 0.8859 GB, free: 212.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/1.644, allocations: 14.56 MB / 0.9001 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.644, allocations: 19.94 kB / 0.9001 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02432/1.668, allocations: 15.56 MB / 0.9153 GB, free: 187.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.67, allocations: 0.5144 MB / 0.9158 GB, free: 186.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/1.671, allocations: 77.16 kB / 0.9159 GB, free: 186.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.674, allocations: 313.2 kB / 0.9162 GB, free: 186.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009243/1.675, allocations: 258 kB / 0.9164 GB, free: 186.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003217/1.675, allocations: 116 kB / 0.9165 GB, free: 186 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003997/1.679, allocations: 2.692 MB / 0.9191 GB, free: 183.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.679, allocations: 0 / 0.9191 GB, free: 183.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009058/1.688, allocations: 1.656 MB / 0.9208 GB, free: 181.7 MB / 0.6544 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 (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,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001174/1.69, allocations: 231.8 kB / 0.921 GB, free: 181.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01382/1.703, allocations: 9.661 MB / 0.9304 GB, free: 171.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/1.703, allocations: 1.812 kB / 0.9304 GB, free: 171.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005744/1.709, allocations: 4.072 MB / 0.9344 GB, free: 167.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/1.714, allocations: 0.7186 MB / 0.9351 GB, free: 167 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.739, allocations: 15.86 MB / 0.9506 GB, free: 151 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005701/1.745, allocations: 4.535 MB / 0.955 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006635/1.752, allocations: 2.723 MB / 0.9577 GB, free: 143.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.753, allocations: 351 kB / 0.958 GB, free: 143.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.963e-06/1.753, allocations: 3.938 kB / 0.958 GB, free: 143.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1086/1.862, allocations: 69.56 MB / 1.026 GB, free: 74.17 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.047325354069471]