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.00118/0.00118, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 205.8 kB / 18.79 MB, free: 4.727 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 / 246.9 MB, free: 8.996 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.1 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.69 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2473/0.3614, allocations: 37.7 MB / 0.5055 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.3783, allocations: 8.163 MB / 0.5135 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00808/0.3864, allocations: 154.8 kB / 0.5136 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00455/0.391, allocations: 1.788 MB / 0.5154 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.3964, allocations: 1.684 MB / 0.517 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3982, allocations: 0.5129 MB / 0.5175 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008162/0.4064, allocations: 5.435 MB / 0.5228 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00443/0.4108, allocations: 2.631 MB / 0.5254 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.4138, allocations: 1.185 MB / 0.5265 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.4173, allocations: 2.036 MB / 0.5285 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009854/0.4184, allocations: 202 kB / 0.5287 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.421, allocations: 0.9666 MB / 0.5297 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.4232, allocations: 1.687 MB / 0.5313 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.4263, allocations: 2.02 MB / 0.5333 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006074/0.4324, allocations: 5.364 MB / 0.5385 GB, free: 15.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4324, allocations: 0 / 0.5385 GB, free: 15.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4324, allocations: 0 / 0.5385 GB, free: 15.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002736/0.4327, allocations: 2.156 kB / 0.5385 GB, free: 15.19 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.01209/0.4448, allocations: 4.521 MB / 0.5429 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4449, allocations: 10.84 kB / 0.543 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.4558, allocations: 3.115 MB / 0.546 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005038/0.4609, allocations: 2.093 MB / 0.548 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.4612, allocations: 221.5 kB / 0.5483 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.4625, allocations: 290.9 kB / 0.5485 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.4836, allocations: 11.11 MB / 0.5594 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.4838, allocations: 31.7 kB / 0.5594 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007274/0.4846, allocations: 136 kB / 0.5595 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004476/0.489, allocations: 2.621 MB / 0.5621 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/0.5095, allocations: 10.37 MB / 0.5722 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05661/0.5661, allocations: 36.69 MB / 0.6081 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009331/0.5755, allocations: 4.583 MB / 0.6125 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003568/0.5791, allocations: 2.392 MB / 0.6149 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/0.5807, allocations: 1.315 MB / 0.6162 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.5807, allocations: 60.5 kB / 0.6162 GB, free: 156 kB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.461e-06/0.5808, allocations: 3.938 kB / 0.6162 GB, free: 152 kB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04421/0.625, allocations: 17.58 MB / 0.6334 GB, free: 14.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.6251, allocations: 77.39 kB / 0.6335 GB, free: 14.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/0.6301, allocations: 2.73 MB / 0.6361 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007264/0.6309, allocations: 56.67 kB / 0.6362 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002744/0.6336, allocations: 2.773 MB / 0.6389 GB, free: 8.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.6349, allocations: 0.9151 MB / 0.6398 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/0.6373, allocations: 1.074 MB / 0.6408 GB, free: 6.848 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6375, allocations: 309.1 kB / 0.6411 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/0.641, allocations: 2.314 MB / 0.6434 GB, free: 4.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006492/0.6475, allocations: 5.218 MB / 0.6485 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.6587, allocations: 8.265 MB / 0.6566 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.6588, allocations: 36 kB / 0.6566 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01723/0.6761, allocations: 8.292 MB / 0.6647 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.6763, allocations: 48 kB / 0.6647 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/0.6765, allocations: 104 kB / 0.6648 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.6796, allocations: 0.9415 MB / 0.6658 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/0.6843, allocations: 1.22 MB / 0.6669 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/0.6919, allocations: 4.78 MB / 0.6716 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/0.6967, allocations: 302.2 kB / 0.6719 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/0.6979, allocations: 319.8 kB / 0.6722 GB, free: 3.73 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.005307/0.7032, allocations: 2.152 MB / 0.6743 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008944/0.7041, allocations: 272.4 kB / 0.6746 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.7148, allocations: 5.132 MB / 0.6796 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.43e-05/0.7149, allocations: 44 kB / 0.6796 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.7149, allocations: 4 kB / 0.6796 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.573e-05/0.715, allocations: 11.95 kB / 0.6796 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02485/0.7398, allocations: 11.9 MB / 0.6913 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/0.7399, allocations: 11.98 kB / 0.6913 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.742, allocations: 391.4 kB / 0.6916 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.7446, allocations: 0.7877 MB / 0.6924 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004957/0.7451, allocations: 51.92 kB / 0.6925 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005893/0.751, allocations: 4.092 MB / 0.6965 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/0.7511, allocations: 23.81 kB / 0.6965 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.764, allocations: 7.615 MB / 0.7039 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.7651, allocations: 321.6 kB / 0.7042 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008956/0.766, allocations: 50.25 kB / 0.7043 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.7678, allocations: 143.8 kB / 0.7044 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005521/0.7684, allocations: 164.8 kB / 0.7046 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/0.7687, allocations: 74.66 kB / 0.7046 GB, free: 2.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003229/0.7719, allocations: 1.685 MB / 0.7063 GB, free: 332 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.593e-06/0.772, allocations: 0 / 0.7063 GB, free: 332 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.2484/1.02, allocations: 0.9737 MB / 0.7072 GB, free: 193 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.0005184/1.021, allocations: 183.3 kB / 0.7074 GB, free: 192.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008537/1.029, allocations: 5.633 MB / 0.7129 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/1.029, allocations: 1.656 kB / 0.7129 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003082/1.033, allocations: 2.147 MB / 0.715 GB, free: 191.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.035, allocations: 374.8 kB / 0.7154 GB, free: 191.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.053, allocations: 12.88 MB / 0.7279 GB, free: 184.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/1.057, allocations: 3.379 MB / 0.7312 GB, free: 183.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.058, allocations: 257.5 kB / 0.7315 GB, free: 183.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/1.058, allocations: 0 / 0.7315 GB, free: 183.1 MB / 0.545 GB Notification: Performance of Templates: time 0.07669/1.135, allocations: 75.17 MB / 0.8049 GB, free: 119.9 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