Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 101.8 kB / 16.4 MB, free: 6.5 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.001673/0.001673, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.511/1.511, allocations: 205.1 MB / 223.2 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.2085/0.2085, allocations: 43.52 MB / 314.1 MB, free: 444 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.001498/0.001498, allocations: 69.92 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01315/0.1211, allocations: 12.68 MB / 0.5003 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.1294, allocations: 3.965 MB / 0.5041 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.1311, allocations: 63.88 kB / 0.5042 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.1338, allocations: 1.327 MB / 0.5055 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.138, allocations: 1.825 MB / 0.5073 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1392, allocations: 487 kB / 0.5077 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004266/0.1434, allocations: 3.675 MB / 0.5113 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.1463, allocations: 2.052 MB / 0.5133 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.1483, allocations: 1.238 MB / 0.5145 GB, free: 344 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.1507, allocations: 1.74 MB / 0.5162 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007208/0.1514, allocations: 236 kB / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.1536, allocations: 0.9439 MB / 0.5174 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.1558, allocations: 1.628 MB / 0.519 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003285/0.1591, allocations: 1.945 MB / 0.5209 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007177/0.1663, allocations: 6.367 MB / 0.5271 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1663, allocations: 4 kB / 0.5271 GB, free: 3.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1663, allocations: 0 / 0.5271 GB, free: 3.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001173/0.1664, allocations: 0 / 0.5271 GB, free: 3.43 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.2226/0.389, allocations: 4.232 MB / 0.5312 GB, free: 37.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3891, allocations: 11.36 kB / 0.5312 GB, free: 37.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.3999, allocations: 3.08 MB / 0.5343 GB, free: 37.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/0.4041, allocations: 1.962 MB / 0.5362 GB, free: 36.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.4043, allocations: 201 kB / 0.5364 GB, free: 36.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.4055, allocations: 246.5 kB / 0.5366 GB, free: 36.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.426, allocations: 10.7 MB / 0.547 GB, free: 32.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002363/0.4263, allocations: 27.14 kB / 0.5471 GB, free: 32.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001532/0.4278, allocations: 127 kB / 0.5472 GB, free: 32.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00503/0.4329, allocations: 2.644 MB / 0.5498 GB, free: 31.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02106/0.454, allocations: 10.03 MB / 0.5596 GB, free: 25.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04211/0.4961, allocations: 35.08 MB / 0.5938 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009155/0.5053, allocations: 5.187 MB / 0.5989 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.5083, allocations: 2.295 MB / 0.6011 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/0.5099, allocations: 1.88 MB / 0.603 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.51, allocations: 56.56 kB / 0.603 GB, free: 11.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.541e-06/0.51, allocations: 0 / 0.603 GB, free: 11.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03079/0.5408, allocations: 14.04 MB / 0.6167 GB, free: 13.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.5409, allocations: 73.41 kB / 0.6168 GB, free: 12.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/0.5447, allocations: 2.672 MB / 0.6194 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.5449, allocations: 53.7 kB / 0.6195 GB, free: 10.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.5466, allocations: 2.705 MB / 0.6221 GB, free: 7.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008553/0.5474, allocations: 0.8518 MB / 0.6229 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/0.5489, allocations: 1.06 MB / 0.624 GB, free: 5.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.549, allocations: 305.1 kB / 0.6243 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/0.5521, allocations: 2.216 MB / 0.6264 GB, free: 3.004 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005209/0.5573, allocations: 5.134 MB / 0.6314 GB, free: 12.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/0.57, allocations: 8.058 MB / 0.6393 GB, free: 2.953 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/0.5702, allocations: 28.69 kB / 0.6393 GB, free: 2.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.02391/0.5941, allocations: 7.949 MB / 0.6471 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.5944, allocations: 52 kB / 0.6471 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002761/0.5947, allocations: 100 kB / 0.6472 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/0.5982, allocations: 0.8008 MB / 0.648 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006271/0.6045, allocations: 1.209 MB / 0.6492 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008924/0.6135, allocations: 4.522 MB / 0.6536 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/0.6189, allocations: 291.8 kB / 0.6539 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/0.62, allocations: 307.2 kB / 0.6542 GB, free: 3.566 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004635/0.6246, allocations: 2.063 MB / 0.6562 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/0.6254, allocations: 256.6 kB / 0.6564 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/0.6365, allocations: 4.736 MB / 0.6611 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/0.6365, allocations: 47.98 kB / 0.6611 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.6366, allocations: 0 / 0.6611 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.6366, allocations: 7.969 kB / 0.6611 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.6549, allocations: 10.59 MB / 0.6715 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.6549, allocations: 11.94 kB / 0.6715 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.6566, allocations: 359.4 kB / 0.6718 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.6586, allocations: 0.6568 MB / 0.6725 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.6588, allocations: 43.98 kB / 0.6725 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/0.6636, allocations: 3.909 MB / 0.6763 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.938e-05/0.6637, allocations: 15.94 kB / 0.6763 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.674, allocations: 7.136 MB / 0.6833 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.6756, allocations: 0.6536 MB / 0.6839 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008436/0.6765, allocations: 40 kB / 0.684 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.6782, allocations: 139.8 kB / 0.6841 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/0.6786, allocations: 137 kB / 0.6842 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/0.6789, allocations: 63.98 kB / 0.6843 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003006/0.6819, allocations: 1.648 MB / 0.6859 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6819, allocations: 0 / 0.6859 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00538/0.6873, allocations: 0.9402 MB / 0.6868 GB, free: 1.637 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006818/0.688, allocations: 185.3 kB / 0.687 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009225/0.6972, allocations: 5.412 MB / 0.6923 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.802e-05/0.6973, allocations: 8 kB / 0.6923 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.7004, allocations: 2.012 MB / 0.6943 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.7033, allocations: 358.9 kB / 0.6946 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/0.7226, allocations: 9.49 MB / 0.7039 GB, free: 68 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00607/0.7287, allocations: 3.232 MB / 0.707 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004799/0.7336, allocations: 1.969 MB / 0.709 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008611/0.7345, allocations: 207.4 kB / 0.7092 GB, free: 10.62 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.7345, allocations: 0 / 0.7092 GB, free: 10.62 MB / 0.545 GB Notification: Performance of Templates: time 0.0533/0.7878, allocations: 28.86 MB / 0.7373 GB, free: 13.76 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches