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.001341/0.001341, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 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.001507/0.001507, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.474/1.474, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2413/0.2413, allocations: 46.87 MB / 361.1 MB, free: 4.668 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.002378/0.002378, allocations: 75.88 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4091, allocations: 66 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01916/0.4282, allocations: 15.04 MB / 0.5759 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.4399, allocations: 4.466 MB / 0.5803 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.4432, allocations: 79.81 kB / 0.5803 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005364/0.4486, allocations: 2.258 MB / 0.5825 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006502/0.4551, allocations: 2.035 MB / 0.5845 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.457, allocations: 0.616 MB / 0.5851 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007015/0.464, allocations: 4.311 MB / 0.5893 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003816/0.4678, allocations: 2.403 MB / 0.5917 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.4707, allocations: 1.6 MB / 0.5933 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004204/0.4749, allocations: 2.418 MB / 0.5956 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.476, allocations: 344 kB / 0.5959 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.4784, allocations: 1.065 MB / 0.597 GB, free: 252 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.4807, allocations: 2.01 MB / 0.5989 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.4838, allocations: 2.38 MB / 0.6013 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.4967, allocations: 7.772 MB / 0.6089 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4967, allocations: 0 / 0.6089 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4967, allocations: 0 / 0.6089 GB, free: 4.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002863/0.497, allocations: 0 / 0.6089 GB, free: 4.031 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.01944/0.5165, allocations: 5.2 MB / 0.6139 GB, free: 14.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.5165, allocations: 12.03 kB / 0.6139 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.5346, allocations: 3.219 MB / 0.6171 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008575/0.5432, allocations: 2.386 MB / 0.6194 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.5435, allocations: 246.6 kB / 0.6197 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/0.5452, allocations: 335.7 kB / 0.62 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/0.5725, allocations: 12.24 MB / 0.6319 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002076/0.5727, allocations: 31.77 kB / 0.632 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/0.5742, allocations: 155.8 kB / 0.6321 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0059/0.5801, allocations: 2.844 MB / 0.6349 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0273/0.6074, allocations: 11.12 MB / 0.6458 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07677/0.6841, allocations: 40.59 MB / 0.6854 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.6945, allocations: 4.514 MB / 0.6898 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003768/0.6983, allocations: 2.255 MB / 0.692 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.6998, allocations: 1.315 MB / 0.6933 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/0.6999, allocations: 56.56 kB / 0.6933 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.771e-06/0.6999, allocations: 0 / 0.6933 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.05231/0.7522, allocations: 18.76 MB / 0.7117 GB, free: 8.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.7522, allocations: 81.41 kB / 0.7117 GB, free: 8.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007188/0.7594, allocations: 3.164 MB / 0.7148 GB, free: 5.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005796/0.76, allocations: 65.69 kB / 0.7149 GB, free: 5.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003472/0.7635, allocations: 3.241 MB / 0.718 GB, free: 1.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001841/0.7653, allocations: 1.019 MB / 0.719 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002951/0.7683, allocations: 1.192 MB / 0.7202 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.7685, allocations: 301.1 kB / 0.7205 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/0.7728, allocations: 2.467 MB / 0.7229 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007863/0.7806, allocations: 5.727 MB / 0.7285 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3121/1.093, allocations: 8.994 MB / 0.7373 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.093, allocations: 31.75 kB / 0.7373 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01539/1.108, allocations: 9.01 MB / 0.7461 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/1.108, allocations: 58.89 kB / 0.7462 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/1.108, allocations: 123 kB / 0.7463 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/1.111, allocations: 1.045 MB / 0.7473 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/1.115, allocations: 1.342 MB / 0.7486 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/1.122, allocations: 5.549 MB / 0.754 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/1.126, allocations: 315.2 kB / 0.7543 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005652/1.127, allocations: 348.5 kB / 0.7547 GB, free: 140.6 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.003514/1.13, allocations: 2.407 MB / 0.757 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000492/1.131, allocations: 338.2 kB / 0.7573 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00777/1.138, allocations: 5.346 MB / 0.7626 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/1.139, allocations: 47.89 kB / 0.7626 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.139, allocations: 8 kB / 0.7626 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/1.139, allocations: 11.53 kB / 0.7626 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/1.158, allocations: 13.01 MB / 0.7753 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.158, allocations: 12 kB / 0.7753 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.16, allocations: 427.3 kB / 0.7757 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/1.162, allocations: 0.8915 MB / 0.7766 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.163, allocations: 51.98 kB / 0.7767 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/1.168, allocations: 4.844 MB / 0.7814 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.168, allocations: 19.88 kB / 0.7814 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009876/1.178, allocations: 8.028 MB / 0.7893 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/1.179, allocations: 374.9 kB / 0.7896 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/1.179, allocations: 55.98 kB / 0.7897 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.18, allocations: 148.3 kB / 0.7898 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.181, allocations: 169.5 kB / 0.79 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.181, allocations: 79.98 kB / 0.79 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002467/1.183, allocations: 1.956 MB / 0.792 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.183, allocations: 0 / 0.792 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004788/1.188, allocations: 1.065 MB / 0.793 GB, free: 103.7 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.0005402/1.189, allocations: 193.4 kB / 0.7932 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007591/1.196, allocations: 5.796 MB / 0.7988 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.196, allocations: 1.969 kB / 0.7988 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/1.199, allocations: 2.099 MB / 0.8009 GB, free: 95.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.202, allocations: 453.4 kB / 0.8013 GB, free: 95.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.219, allocations: 11.53 MB / 0.8126 GB, free: 83.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003506/1.222, allocations: 3.704 MB / 0.8162 GB, free: 79.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003995/1.226, allocations: 2.153 MB / 0.8183 GB, free: 77.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/1.227, allocations: 243.4 kB / 0.8185 GB, free: 77.34 MB / 0.5606 GB Notification: Performance of SimCode: time 2.244e-06/1.227, allocations: 0 / 0.8185 GB, free: 77.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.05962/1.287, allocations: 36.51 MB / 0.8542 GB, free: 41.02 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 cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.34685176005587]