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.001079/0.00108, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.0016, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.361, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01649/0.3776, allocations: 13.51 MB / 0.5448 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.3895, allocations: 4.17 MB / 0.5489 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00366/0.3932, allocations: 75.84 kB / 0.549 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004839/0.3981, allocations: 1.818 MB / 0.5508 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.4045, allocations: 1.805 MB / 0.5525 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.4065, allocations: 0.5497 MB / 0.5531 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006311/0.4128, allocations: 3.897 MB / 0.5569 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004486/0.4173, allocations: 2.689 MB / 0.5595 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.4201, allocations: 1.37 MB / 0.5608 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.4235, allocations: 1.939 MB / 0.5627 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.4246, allocations: 292 kB / 0.563 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.4274, allocations: 0.9946 MB / 0.564 GB, free: 476 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.4298, allocations: 1.745 MB / 0.5657 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003617/0.4335, allocations: 2.104 MB / 0.5677 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009232/0.4427, allocations: 6.88 MB / 0.5745 GB, free: 5.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.4428, allocations: 0 / 0.5745 GB, free: 5.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4428, allocations: 0 / 0.5745 GB, free: 5.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002662/0.4431, allocations: 0 / 0.5745 GB, free: 5.695 MB / 430.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.01136/0.4544, allocations: 4.52 MB / 0.5789 GB, free: 1.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4545, allocations: 8.031 kB / 0.5789 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.4656, allocations: 3.107 MB / 0.5819 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00491/0.4706, allocations: 2.136 MB / 0.584 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.4708, allocations: 221.8 kB / 0.5842 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.4721, allocations: 287.7 kB / 0.5845 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/0.4939, allocations: 11.11 MB / 0.5953 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.4941, allocations: 27.72 kB / 0.5954 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.4952, allocations: 135.8 kB / 0.5955 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00488/0.5001, allocations: 2.62 MB / 0.5981 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02066/0.5208, allocations: 10.38 MB / 0.6082 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05776/0.5786, allocations: 36.47 MB / 0.6438 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009925/0.5886, allocations: 4.563 MB / 0.6483 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/0.5922, allocations: 2.401 MB / 0.6506 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.5937, allocations: 1.315 MB / 0.6519 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.5937, allocations: 64.42 kB / 0.652 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.613e-06/0.5938, allocations: 0 / 0.652 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04681/0.6406, allocations: 17.58 MB / 0.6691 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.6407, allocations: 73.41 kB / 0.6692 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004924/0.6456, allocations: 2.734 MB / 0.6719 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005006/0.6462, allocations: 61.7 kB / 0.6719 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/0.6486, allocations: 2.779 MB / 0.6746 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.6501, allocations: 0.9056 MB / 0.6755 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/0.6526, allocations: 1.076 MB / 0.6766 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6527, allocations: 305.1 kB / 0.6769 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003881/0.6566, allocations: 2.31 MB / 0.6791 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006303/0.6629, allocations: 5.226 MB / 0.6842 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/0.6736, allocations: 8.269 MB / 0.6923 GB, free: 8.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.6738, allocations: 28 kB / 0.6923 GB, free: 7.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01595/0.6897, allocations: 8.301 MB / 0.7004 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.6899, allocations: 52.25 kB / 0.7005 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/0.6901, allocations: 100 kB / 0.7006 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.693, allocations: 0.9372 MB / 0.7015 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/0.6972, allocations: 1.217 MB / 0.7027 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/0.7044, allocations: 5.145 MB / 0.7077 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/0.7097, allocations: 299.8 kB / 0.708 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009233/0.7106, allocations: 312 kB / 0.7083 GB, free: 7.477 MB / 0.5606 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.004137/0.7148, allocations: 2.15 MB / 0.7104 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/0.7154, allocations: 276.4 kB / 0.7106 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2788/0.9942, allocations: 5.118 MB / 0.7156 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001196/0.9944, allocations: 50.67 kB / 0.7157 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.9944, allocations: 6.438 kB / 0.7157 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.21e-05/0.9945, allocations: 11.84 kB / 0.7157 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.014, allocations: 11.86 MB / 0.7273 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.014, allocations: 11.84 kB / 0.7273 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.015, allocations: 396.9 kB / 0.7277 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/1.017, allocations: 0.7695 MB / 0.7284 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/1.018, allocations: 49.94 kB / 0.7285 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004383/1.022, allocations: 4.387 MB / 0.7328 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.022, allocations: 19.03 kB / 0.7328 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009747/1.032, allocations: 7.612 MB / 0.7402 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/1.032, allocations: 339.5 kB / 0.7405 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/1.033, allocations: 52.52 kB / 0.7406 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.034, allocations: 147.9 kB / 0.7407 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/1.034, allocations: 152.5 kB / 0.7409 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.034, allocations: 70.45 kB / 0.7409 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001836/1.036, allocations: 1.684 MB / 0.7426 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.036, allocations: 0 / 0.7426 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003352/1.04, allocations: 0.9731 MB / 0.7435 GB, free: 150.8 MB / 0.5606 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.0004016/1.04, allocations: 185.1 kB / 0.7437 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006176/1.046, allocations: 5.683 MB / 0.7493 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/1.046, allocations: 0 / 0.7493 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/1.049, allocations: 2.153 MB / 0.7514 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.051, allocations: 406.7 kB / 0.7518 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.064, allocations: 10.58 MB / 0.7621 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/1.066, allocations: 3.371 MB / 0.7654 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.067, allocations: 259.4 kB / 0.7656 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/1.067, allocations: 0 / 0.7656 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07471/1.142, allocations: 75.75 MB / 0.8396 GB, free: 52.51 MB / 0.5606 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