Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.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.0017/0.0017, 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.002115/0.002115, allocations: 213.1 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.475/1.475, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2291/0.2291, allocations: 46.94 MB / 362 MB, free: 4.227 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar") [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.002443/0.002443, allocations: 87.84 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3389, allocations: 66.07 MB / 0.5623 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01724/0.3561, allocations: 14.89 MB / 0.5769 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009339/0.3655, allocations: 4.449 MB / 0.5812 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.3677, allocations: 91.62 kB / 0.5813 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.3725, allocations: 2.258 MB / 0.5835 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005471/0.378, allocations: 2.05 MB / 0.5855 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.38, allocations: 0.6199 MB / 0.5861 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007557/0.3876, allocations: 4.307 MB / 0.5903 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004578/0.3921, allocations: 2.668 MB / 0.5929 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.3955, allocations: 1.631 MB / 0.5945 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003992/0.3995, allocations: 2.414 MB / 0.5969 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.4005, allocations: 344 kB / 0.5972 GB, free: 364 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.4029, allocations: 0.9518 MB / 0.5981 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002476/0.4054, allocations: 2.01 MB / 0.6001 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.4088, allocations: 2.372 MB / 0.6024 GB, free: 11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.4191, allocations: 7.811 MB / 0.61 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4192, allocations: 0 / 0.61 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4192, allocations: 0 / 0.61 GB, free: 3.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002655/0.4194, allocations: 0 / 0.61 GB, free: 3.16 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01117/0.4306, allocations: 5.125 MB / 0.6151 GB, free: 13.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4306, allocations: 8.031 kB / 0.6151 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4415, allocations: 3.219 MB / 0.6182 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00675/0.4482, allocations: 2.322 MB / 0.6205 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.4485, allocations: 250.6 kB / 0.6207 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.4501, allocations: 323.8 kB / 0.621 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.4744, allocations: 12.24 MB / 0.633 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.4745, allocations: 31.7 kB / 0.633 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007522/0.4753, allocations: 155.8 kB / 0.6332 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005374/0.4806, allocations: 2.855 MB / 0.6359 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/0.5035, allocations: 11.12 MB / 0.6468 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06422/0.5677, allocations: 40.27 MB / 0.6861 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00944/0.5772, allocations: 3.598 MB / 0.6896 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/0.581, allocations: 2.252 MB / 0.6918 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009818/0.582, allocations: 449.2 kB / 0.6923 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.582, allocations: 52.56 kB / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.4e-06/0.582, allocations: 0 / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04543/0.6275, allocations: 18.52 MB / 0.7104 GB, free: 10.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.6275, allocations: 73.41 kB / 0.7105 GB, free: 10.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00463/0.6322, allocations: 3.176 MB / 0.7136 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003249/0.6325, allocations: 61.7 kB / 0.7136 GB, free: 7.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00251/0.635, allocations: 3.245 MB / 0.7168 GB, free: 3.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/0.6363, allocations: 1.015 MB / 0.7178 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.638, allocations: 1.188 MB / 0.719 GB, free: 1.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6381, allocations: 309.1 kB / 0.7193 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00376/0.6419, allocations: 2.463 MB / 0.7217 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006862/0.6487, allocations: 5.735 MB / 0.7273 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3025/0.9513, allocations: 8.983 MB / 0.736 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/0.9514, allocations: 32.53 kB / 0.7361 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01602/0.9674, allocations: 9.013 MB / 0.7449 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/0.9675, allocations: 58.94 kB / 0.7449 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/0.9676, allocations: 112.8 kB / 0.745 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.9704, allocations: 1.048 MB / 0.7461 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/0.9744, allocations: 1.354 MB / 0.7474 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006077/0.9805, allocations: 5.44 MB / 0.7527 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/0.9844, allocations: 316.9 kB / 0.753 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007643/0.9852, allocations: 349.1 kB / 0.7533 GB, free: 143.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003633/0.9888, allocations: 2.405 MB / 0.7557 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005052/0.9893, allocations: 335 kB / 0.756 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007628/0.9969, allocations: 5.349 MB / 0.7612 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.696e-05/0.997, allocations: 50.2 kB / 0.7613 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.997, allocations: 4 kB / 0.7613 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.997, allocations: 10.5 kB / 0.7613 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/1.015, allocations: 12.97 MB / 0.7739 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.015, allocations: 12 kB / 0.774 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.017, allocations: 423.3 kB / 0.7744 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/1.019, allocations: 0.8883 MB / 0.7752 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/1.019, allocations: 52 kB / 0.7753 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/1.024, allocations: 4.734 MB / 0.7799 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.024, allocations: 15.94 kB / 0.7799 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009524/1.034, allocations: 8.024 MB / 0.7877 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/1.035, allocations: 308.5 kB / 0.788 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004901/1.035, allocations: 59.28 kB / 0.7881 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.036, allocations: 151.8 kB / 0.7882 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/1.037, allocations: 179.3 kB / 0.7884 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.037, allocations: 79.98 kB / 0.7885 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002431/1.039, allocations: 1.952 MB / 0.7904 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.039, allocations: 4 kB / 0.7904 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004361/1.044, allocations: 1.062 MB / 0.7914 GB, free: 105.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * 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 {(3,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.0004811/1.044, allocations: 203.2 kB / 0.7916 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007411/1.052, allocations: 5.785 MB / 0.7973 GB, free: 99.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.052, allocations: 0 / 0.7973 GB, free: 99.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/1.054, allocations: 2.097 MB / 0.7993 GB, free: 97.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.056, allocations: 463 kB / 0.7998 GB, free: 96.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.072, allocations: 11.53 MB / 0.811 GB, free: 85.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.075, allocations: 3.708 MB / 0.8147 GB, free: 81.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003874/1.079, allocations: 2.142 MB / 0.8168 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/1.08, allocations: 239.4 kB / 0.817 GB, free: 79.12 MB / 0.5606 GB Notification: Performance of SimCode: time 1.522e-06/1.08, allocations: 4 kB / 0.817 GB, free: 79.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.06007/1.14, allocations: 39.1 MB / 0.8552 GB, free: 40.25 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.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.233373001916334]