Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 95.25 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009841/0.0009842, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 247.5 MB, free: 11.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.18 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.000311, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 63.56 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2841/0.4129, allocations: 36.6 MB / 0.5081 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.4299, allocations: 8.107 MB / 0.5161 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0079/0.4379, allocations: 157.7 kB / 0.5162 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4394, allocations: 469.6 kB / 0.5166 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005342/0.4447, allocations: 1.703 MB / 0.5183 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.4462, allocations: 0.502 MB / 0.5188 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00765/0.4539, allocations: 5.436 MB / 0.5241 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.4587, allocations: 3.382 MB / 0.5274 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.4607, allocations: 1.059 MB / 0.5284 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.4631, allocations: 1.874 MB / 0.5303 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.4635, allocations: 147.5 kB / 0.5304 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.4656, allocations: 0.9164 MB / 0.5313 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.467, allocations: 1.601 MB / 0.5329 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.4686, allocations: 1.952 MB / 0.5348 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005876/0.4745, allocations: 5.246 MB / 0.5399 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4745, allocations: 0 / 0.5399 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4745, allocations: 0 / 0.5399 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001658/0.4747, allocations: 0 / 0.5399 GB, free: 15.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.007168/0.4819, allocations: 3.691 MB / 0.5435 GB, free: 13.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4819, allocations: 7.875 kB / 0.5435 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4927, allocations: 3.204 MB / 0.5466 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.4967, allocations: 2.098 MB / 0.5487 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.4969, allocations: 215.4 kB / 0.5489 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007202/0.4976, allocations: 294.6 kB / 0.5492 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.5147, allocations: 11.13 MB / 0.56 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.136e-05/0.5148, allocations: 19.81 kB / 0.5601 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.5153, allocations: 134 kB / 0.5602 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004576/0.5199, allocations: 2.628 MB / 0.5628 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.54, allocations: 10.39 MB / 0.5729 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05123/0.5912, allocations: 36.71 MB / 0.6088 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008706/0.6, allocations: 4.583 MB / 0.6132 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.6032, allocations: 2.4 MB / 0.6156 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.6043, allocations: 1.315 MB / 0.6169 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.6043, allocations: 52.5 kB / 0.6169 GB, free: 1.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 4.779e-06/0.6044, allocations: 4 kB / 0.6169 GB, free: 1.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04072/0.6451, allocations: 17.56 MB / 0.6341 GB, free: 92 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.6452, allocations: 77.41 kB / 0.6341 GB, free: 4 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.6499, allocations: 2.738 MB / 0.6368 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003599/0.6503, allocations: 61.7 kB / 0.6369 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.6522, allocations: 2.772 MB / 0.6396 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.6533, allocations: 0.9101 MB / 0.6405 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008552/0.6542, allocations: 489 kB / 0.6409 GB, free: 9.023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.6543, allocations: 301.1 kB / 0.6412 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/0.6581, allocations: 2.318 MB / 0.6435 GB, free: 6.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/0.6639, allocations: 5.222 MB / 0.6486 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009927/0.6739, allocations: 8.273 MB / 0.6567 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-05/0.674, allocations: 28 kB / 0.6567 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01568/0.6897, allocations: 8.29 MB / 0.6648 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.6899, allocations: 48 kB / 0.6648 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/0.6901, allocations: 103.9 kB / 0.6649 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.693, allocations: 0.949 MB / 0.6659 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004192/0.6972, allocations: 1.217 MB / 0.667 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006429/0.7036, allocations: 4.78 MB / 0.6717 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/0.7071, allocations: 298.8 kB / 0.672 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008211/0.7079, allocations: 308 kB / 0.6723 GB, free: 5.918 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (657): * Single equations (assignments): 650 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004126/0.7121, allocations: 2.154 MB / 0.6744 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005912/0.7127, allocations: 272.4 kB / 0.6747 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009497/0.7222, allocations: 5.137 MB / 0.6797 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.689e-05/0.7223, allocations: 47.98 kB / 0.6797 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.7223, allocations: 4 kB / 0.6797 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/0.7223, allocations: 15.89 kB / 0.6797 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/0.7436, allocations: 11.89 MB / 0.6913 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.7436, allocations: 8 kB / 0.6914 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.7453, allocations: 395.4 kB / 0.6917 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/0.7478, allocations: 0.7791 MB / 0.6925 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.7481, allocations: 51.98 kB / 0.6925 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005756/0.7538, allocations: 4.095 MB / 0.6965 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/0.7538, allocations: 15.88 kB / 0.6966 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.7663, allocations: 7.615 MB / 0.704 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/0.7671, allocations: 333.5 kB / 0.7043 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/0.7676, allocations: 48.09 kB / 0.7044 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.7691, allocations: 149.9 kB / 0.7045 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.7694, allocations: 160.8 kB / 0.7047 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.7696, allocations: 71.98 kB / 0.7047 GB, free: 4.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002899/0.7725, allocations: 1.685 MB / 0.7064 GB, free: 2.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7725, allocations: 0 / 0.7064 GB, free: 2.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004075/0.7766, allocations: 0.968 MB / 0.7073 GB, free: 1.539 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,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.000508/0.7771, allocations: 189.3 kB / 0.7075 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2469/1.024, allocations: 5.622 MB / 0.713 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.024, allocations: 0 / 0.713 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/1.027, allocations: 2.151 MB / 0.7151 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005243/1.033, allocations: 384.3 kB / 0.7154 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.054, allocations: 12.98 MB / 0.7281 GB, free: 158.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004251/1.058, allocations: 3.378 MB / 0.7314 GB, free: 156.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.06, allocations: 259.4 kB / 0.7317 GB, free: 156.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/1.06, allocations: 0 / 0.7317 GB, free: 156.9 MB / 0.545 GB Notification: Performance of Templates: time 0.08644/1.146, allocations: 74.36 MB / 0.8043 GB, free: 92.66 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches