Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001081, allocations: 93.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 204 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.7 MB / 246.8 MB, free: 9.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 63.57 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02648/0.1412, allocations: 28.6 MB / 0.4997 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.1555, allocations: 6.715 MB / 0.5063 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/0.1592, allocations: 119.7 kB / 0.5064 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009724/0.1602, allocations: 438.1 kB / 0.5068 GB, free: 140 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2271/0.3873, allocations: 1.614 MB / 0.5084 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3889, allocations: 454.8 kB / 0.5088 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009304/0.3982, allocations: 5.028 MB / 0.5137 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005928/0.4042, allocations: 2.425 MB / 0.5161 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.4068, allocations: 0.9519 MB / 0.517 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.4104, allocations: 1.696 MB / 0.5187 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009225/0.4113, allocations: 130.7 kB / 0.5188 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.4145, allocations: 0.8873 MB / 0.5197 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002671/0.4172, allocations: 1.49 MB / 0.5211 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003368/0.4206, allocations: 1.777 MB / 0.5228 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00947/0.4301, allocations: 5.72 MB / 0.5284 GB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4301, allocations: 0 / 0.5284 GB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4301, allocations: 1.25 kB / 0.5284 GB, free: 6.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002241/0.4304, allocations: 0 / 0.5284 GB, free: 6.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01127/0.4417, allocations: 3.372 MB / 0.5317 GB, free: 4.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.4417, allocations: 10.47 kB / 0.5317 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02116/0.4629, allocations: 3.163 MB / 0.5348 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00655/0.4695, allocations: 1.857 MB / 0.5366 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.4699, allocations: 189.8 kB / 0.5368 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/0.4715, allocations: 247.6 kB / 0.5371 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.4953, allocations: 10.5 MB / 0.5473 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.4955, allocations: 25.41 kB / 0.5473 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008009/0.4963, allocations: 121 kB / 0.5474 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004541/0.5008, allocations: 2.548 MB / 0.5499 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.5212, allocations: 9.93 MB / 0.5596 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05498/0.5762, allocations: 34.48 MB / 0.5933 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.5866, allocations: 5.177 MB / 0.5984 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003489/0.5902, allocations: 2.292 MB / 0.6006 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/0.5919, allocations: 1.878 MB / 0.6024 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.5919, allocations: 52.56 kB / 0.6025 GB, free: 48 kB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 6.612e-06/0.592, allocations: 0 / 0.6025 GB, free: 48 kB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03413/0.6261, allocations: 13.96 MB / 0.6161 GB, free: 2.059 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.6262, allocations: 73.41 kB / 0.6162 GB, free: 1.973 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003809/0.63, allocations: 2.634 MB / 0.6188 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004805/0.6305, allocations: 53.7 kB / 0.6188 GB, free: 15.26 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.6322, allocations: 2.627 MB / 0.6214 GB, free: 12.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.6333, allocations: 0.855 MB / 0.6222 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/0.6339, allocations: 464.3 kB / 0.6226 GB, free: 11.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.634, allocations: 301.1 kB / 0.6229 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/0.6371, allocations: 2.205 MB / 0.6251 GB, free: 8.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005097/0.6422, allocations: 5.069 MB / 0.63 GB, free: 2.387 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.6528, allocations: 7.978 MB / 0.6378 GB, free: 9.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.403e-05/0.6529, allocations: 28 kB / 0.6379 GB, free: 9.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01477/0.6677, allocations: 7.882 MB / 0.6456 GB, free: 1.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/0.6678, allocations: 48 kB / 0.6456 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.797e-05/0.6679, allocations: 103.9 kB / 0.6457 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/0.6702, allocations: 0.7967 MB / 0.6465 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/0.6739, allocations: 1.181 MB / 0.6476 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/0.6794, allocations: 4.203 MB / 0.6517 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.6826, allocations: 295.8 kB / 0.652 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004925/0.6831, allocations: 300 kB / 0.6523 GB, free: 10.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (635): * Single equations (assignments): 628 * 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.003741/0.6869, allocations: 2.024 MB / 0.6543 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/0.6873, allocations: 256.6 kB / 0.6545 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/0.6954, allocations: 4.721 MB / 0.6591 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/0.6955, allocations: 46.89 kB / 0.6592 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6955, allocations: 7.875 kB / 0.6592 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.6955, allocations: 15.95 kB / 0.6592 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.7133, allocations: 10.55 MB / 0.6695 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.7133, allocations: 4 kB / 0.6695 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.7149, allocations: 363.4 kB / 0.6699 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/0.717, allocations: 0.6566 MB / 0.6705 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.7172, allocations: 41.25 kB / 0.6705 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/0.7219, allocations: 3.67 MB / 0.6741 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/0.722, allocations: 8 kB / 0.6741 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.7328, allocations: 7.126 MB / 0.6811 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.7335, allocations: 317.6 kB / 0.6814 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003871/0.7339, allocations: 37.02 kB / 0.6814 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.7351, allocations: 141.1 kB / 0.6816 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003471/0.7355, allocations: 141 kB / 0.6817 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.7356, allocations: 65.25 kB / 0.6818 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002352/0.738, allocations: 1.615 MB / 0.6833 GB, free: 10 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.1e-07/0.738, allocations: 0 / 0.6833 GB, free: 10 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004055/0.7421, allocations: 0.9153 MB / 0.6842 GB, free: 9.09 MB / 0.5294 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.0005039/0.7426, allocations: 170.9 kB / 0.6844 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00817/0.7508, allocations: 5.346 MB / 0.6896 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.7508, allocations: 3.938 kB / 0.6896 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002874/0.7537, allocations: 2.024 MB / 0.6916 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/0.7577, allocations: 357.6 kB / 0.6919 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.7744, allocations: 11.51 MB / 0.7032 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003926/0.7784, allocations: 3.172 MB / 0.7063 GB, free: 2.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004586/0.783, allocations: 1.953 MB / 0.7082 GB, free: 432 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.7838, allocations: 199.4 kB / 0.7084 GB, free: 232 kB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.7838, allocations: 0 / 0.7084 GB, free: 232 kB / 0.545 GB Notification: Performance of Templates: time 0.2658/1.05, allocations: 29.18 MB / 0.7369 GB, free: 186.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches