Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001739/0.001739, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002199/0.002199, allocations: 212.4 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2314/0.2314, allocations: 46.93 MB / 362 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 75.88 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.329, allocations: 66.09 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01591/0.3449, allocations: 13.46 MB / 0.5755 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.355, allocations: 4.19 MB / 0.5796 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.3578, allocations: 79.69 kB / 0.5796 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004593/0.3624, allocations: 1.849 MB / 0.5815 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.3683, allocations: 1.872 MB / 0.5833 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.3701, allocations: 0.5498 MB / 0.5838 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006354/0.3765, allocations: 3.897 MB / 0.5876 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003792/0.3803, allocations: 2.281 MB / 0.5899 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.383, allocations: 1.394 MB / 0.5912 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.3866, allocations: 2.134 MB / 0.5933 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000927/0.3876, allocations: 292 kB / 0.5936 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.3898, allocations: 0.9088 MB / 0.5945 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.3919, allocations: 1.78 MB / 0.5962 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0029/0.3948, allocations: 2.104 MB / 0.5983 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009507/0.4043, allocations: 6.94 MB / 0.605 GB, free: 8.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4043, allocations: 3.938 kB / 0.605 GB, free: 8.359 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4043, allocations: 0 / 0.605 GB, free: 8.359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002607/0.4046, allocations: 0 / 0.605 GB, free: 8.359 MB / 446.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.01229/0.4168, allocations: 4.569 MB / 0.6095 GB, free: 3.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4169, allocations: 12.03 kB / 0.6095 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.4277, allocations: 3.141 MB / 0.6126 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005768/0.4335, allocations: 2.06 MB / 0.6146 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.4337, allocations: 217.8 kB / 0.6148 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/0.4348, allocations: 287.7 kB / 0.6151 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.4547, allocations: 11.12 MB / 0.6259 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.763e-05/0.4548, allocations: 27.7 kB / 0.626 GB, free: 2.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.4552, allocations: 135.8 kB / 0.6261 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004526/0.4597, allocations: 2.628 MB / 0.6287 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/0.4819, allocations: 10.37 MB / 0.6388 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06109/0.543, allocations: 36.25 MB / 0.6742 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008829/0.5518, allocations: 3.487 MB / 0.6776 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.5551, allocations: 2.224 MB / 0.6798 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009007/0.556, allocations: 453.2 kB / 0.6802 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.5561, allocations: 60.5 kB / 0.6802 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.358e-06/0.5561, allocations: 0 / 0.6802 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04358/0.5997, allocations: 17.47 MB / 0.6973 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.5997, allocations: 73.41 kB / 0.6974 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004907/0.6046, allocations: 2.743 MB / 0.7001 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.6049, allocations: 61.7 kB / 0.7001 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002606/0.6075, allocations: 2.886 MB / 0.7029 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/0.6087, allocations: 0.9571 MB / 0.7039 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.6107, allocations: 1.08 MB / 0.7049 GB, free: 448 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6108, allocations: 301.1 kB / 0.7052 GB, free: 144 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/0.6147, allocations: 2.314 MB / 0.7075 GB, free: 13.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006648/0.6214, allocations: 5.229 MB / 0.7126 GB, free: 7.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.6322, allocations: 8.273 MB / 0.7207 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.707e-05/0.6323, allocations: 28 kB / 0.7207 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01707/0.6494, allocations: 8.299 MB / 0.7288 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.6496, allocations: 51.94 kB / 0.7288 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002784/0.6499, allocations: 108.1 kB / 0.7289 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00326/0.6531, allocations: 0.9372 MB / 0.7299 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004762/0.6579, allocations: 1.22 MB / 0.731 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2592/0.9171, allocations: 5.03 MB / 0.736 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.9204, allocations: 297 kB / 0.7362 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004905/0.9209, allocations: 310.3 kB / 0.7365 GB, free: 150.7 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.002695/0.9236, allocations: 2.151 MB / 0.7386 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.924, allocations: 296.1 kB / 0.7389 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007091/0.9311, allocations: 5.113 MB / 0.7439 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/0.9311, allocations: 53.95 kB / 0.744 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9311, allocations: 3.875 kB / 0.744 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.9311, allocations: 9.984 kB / 0.744 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.9477, allocations: 11.82 MB / 0.7555 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.9477, allocations: 14.75 kB / 0.7555 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.9493, allocations: 400 kB / 0.7559 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.9514, allocations: 0.7744 MB / 0.7567 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.9517, allocations: 51.89 kB / 0.7567 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/0.9562, allocations: 4.276 MB / 0.7609 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.9562, allocations: 15.75 kB / 0.7609 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008903/0.9651, allocations: 7.628 MB / 0.7684 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.9658, allocations: 263.8 kB / 0.7686 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/0.9661, allocations: 44 kB / 0.7687 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.9672, allocations: 154.8 kB / 0.7688 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.9675, allocations: 171 kB / 0.769 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.9677, allocations: 71.98 kB / 0.769 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001997/0.9697, allocations: 1.689 MB / 0.7707 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.9697, allocations: 0 / 0.7707 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003815/0.9735, allocations: 0.9633 MB / 0.7716 GB, free: 127.5 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.0004165/0.9739, allocations: 185.1 kB / 0.7718 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006573/0.9805, allocations: 5.438 MB / 0.7771 GB, free: 122 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.9805, allocations: 0 / 0.7771 GB, free: 122 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.9829, allocations: 2.002 MB / 0.7791 GB, free: 120 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9849, allocations: 397.6 kB / 0.7794 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.9985, allocations: 10.37 MB / 0.7896 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002836/1.001, allocations: 3.371 MB / 0.7929 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003423/1.005, allocations: 1.978 MB / 0.7948 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006666/1.005, allocations: 215.4 kB / 0.795 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.794e-06/1.005, allocations: 4 kB / 0.795 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05736/1.063, allocations: 35.58 MB / 0.8298 GB, free: 68.11 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.098571259062737]