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.001188/0.001188, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 46.12 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 79.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.298, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01276/0.3108, allocations: 13.5 MB / 0.5449 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007651/0.3185, allocations: 4.169 MB / 0.5489 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.3198, allocations: 72.28 kB / 0.549 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.3228, allocations: 1.82 MB / 0.5508 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.3261, allocations: 1.849 MB / 0.5526 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3273, allocations: 0.5576 MB / 0.5531 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003864/0.3311, allocations: 3.89 MB / 0.5569 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.3337, allocations: 2.693 MB / 0.5596 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.3351, allocations: 1.37 MB / 0.5609 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.337, allocations: 1.943 MB / 0.5628 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003954/0.3374, allocations: 292 kB / 0.5631 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.3388, allocations: 0.9908 MB / 0.564 GB, free: 432 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.3401, allocations: 1.741 MB / 0.5657 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.3417, allocations: 2.108 MB / 0.5678 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.3473, allocations: 6.872 MB / 0.5745 GB, free: 5.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3473, allocations: 0 / 0.5745 GB, free: 5.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3474, allocations: 0 / 0.5745 GB, free: 5.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.843e-05/0.3474, allocations: 0 / 0.5745 GB, free: 5.66 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.006547/0.354, allocations: 4.524 MB / 0.5789 GB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.354, allocations: 12.03 kB / 0.5789 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009101/0.3631, allocations: 3.114 MB / 0.582 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.3666, allocations: 2.132 MB / 0.5841 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3667, allocations: 217.8 kB / 0.5843 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005143/0.3673, allocations: 291.7 kB / 0.5845 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.3812, allocations: 11.11 MB / 0.5954 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.978e-05/0.3813, allocations: 27.72 kB / 0.5954 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.3817, allocations: 135.8 kB / 0.5956 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003714/0.3854, allocations: 2.624 MB / 0.5981 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.4015, allocations: 10.37 MB / 0.6082 GB, free: 2.484 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04156/0.4431, allocations: 36.47 MB / 0.6439 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007707/0.4508, allocations: 4.563 MB / 0.6483 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/0.4538, allocations: 2.404 MB / 0.6507 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.4549, allocations: 1.315 MB / 0.6519 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4549, allocations: 52.5 kB / 0.652 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.268e-06/0.455, allocations: 4 kB / 0.652 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.03426/0.4892, allocations: 17.58 MB / 0.6692 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.4893, allocations: 77.41 kB / 0.6692 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/0.4928, allocations: 2.726 MB / 0.6719 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.493, allocations: 57.7 kB / 0.672 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.4946, allocations: 2.779 MB / 0.6747 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007587/0.4954, allocations: 0.9173 MB / 0.6756 GB, free: 12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/0.4967, allocations: 1.068 MB / 0.6766 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.4968, allocations: 301.1 kB / 0.6769 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.4997, allocations: 2.326 MB / 0.6792 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004556/0.5042, allocations: 5.214 MB / 0.6843 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008383/0.5126, allocations: 8.276 MB / 0.6923 GB, free: 7.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-05/0.5127, allocations: 28 kB / 0.6924 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01214/0.5248, allocations: 8.301 MB / 0.7005 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/0.5249, allocations: 48 kB / 0.7005 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.472e-05/0.525, allocations: 100 kB / 0.7006 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/0.5275, allocations: 0.9453 MB / 0.7015 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.531, allocations: 1.232 MB / 0.7027 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.537, allocations: 5.13 MB / 0.7078 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.5399, allocations: 303.8 kB / 0.708 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/0.5404, allocations: 308 kB / 0.7083 GB, free: 7.426 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.00284/0.5432, allocations: 2.146 MB / 0.7104 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.5436, allocations: 276.4 kB / 0.7107 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2223/0.7659, allocations: 5.121 MB / 0.7157 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.804e-05/0.7661, allocations: 48.03 kB / 0.7157 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.7661, allocations: 7.062 kB / 0.7158 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/0.7661, allocations: 7.547 kB / 0.7158 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.7832, allocations: 11.86 MB / 0.7273 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.7833, allocations: 7.938 kB / 0.7273 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.7847, allocations: 406.5 kB / 0.7277 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/0.7867, allocations: 0.7739 MB / 0.7285 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.7869, allocations: 59.78 kB / 0.7285 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.7909, allocations: 4.381 MB / 0.7328 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7909, allocations: 15.19 kB / 0.7328 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/0.799, allocations: 7.621 MB / 0.7403 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.7996, allocations: 325.3 kB / 0.7406 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.7998, allocations: 53.5 kB / 0.7406 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.8009, allocations: 144.5 kB / 0.7408 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.8012, allocations: 159.1 kB / 0.7409 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.8013, allocations: 73.59 kB / 0.741 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001736/0.8031, allocations: 1.681 MB / 0.7426 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8031, allocations: 0 / 0.7426 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003135/0.8062, allocations: 0.9668 MB / 0.7436 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.000341/0.8066, allocations: 185.4 kB / 0.7438 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005764/0.8123, allocations: 5.686 MB / 0.7493 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.8124, allocations: 0 / 0.7493 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.8145, allocations: 2.153 MB / 0.7514 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.8163, allocations: 404.3 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.01159/0.8279, 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.002382/0.8303, allocations: 3.378 MB / 0.7654 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008966/0.8312, allocations: 259.4 kB / 0.7657 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.8312, allocations: 0 / 0.7657 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06678/0.898, allocations: 75.74 MB / 0.8396 GB, free: 52.47 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