Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 167.7 kB / 24.5 MB, free: 3.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2413/0.2413, allocations: 34.27 MB / 295.5 MB, free: 14.61 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 67.89 kB / 443.1 MB, free: 6.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3293, allocations: 66 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01069/0.34, allocations: 13.03 MB / 0.5099 GB, free: 21.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008302/0.3483, allocations: 4.229 MB / 0.5141 GB, free: 18.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.3505, allocations: 88.44 kB / 0.5142 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004175/0.3547, allocations: 2.18 MB / 0.5163 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004713/0.3594, allocations: 2.06 MB / 0.5183 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3609, allocations: 0.612 MB / 0.5189 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00557/0.3664, allocations: 4.303 MB / 0.5231 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.3697, allocations: 2.658 MB / 0.5257 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.3724, allocations: 1.628 MB / 0.5273 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.3761, allocations: 2.302 MB / 0.5295 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008702/0.3769, allocations: 341.2 kB / 0.5299 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.379, allocations: 0.9418 MB / 0.5308 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.3809, allocations: 2.005 MB / 0.5327 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.3832, allocations: 1.721 MB / 0.5344 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008062/0.3912, allocations: 7.813 MB / 0.542 GB, free: 5.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3912, allocations: 0 / 0.542 GB, free: 5.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3912, allocations: 0 / 0.542 GB, free: 5.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002144/0.3914, allocations: 1.094 kB / 0.542 GB, free: 5.328 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.009561/0.401, allocations: 5.132 MB / 0.5471 GB, free: 1.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.401, allocations: 9.094 kB / 0.5471 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.4118, allocations: 3.262 MB / 0.5502 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/0.418, allocations: 2.341 MB / 0.5525 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4182, allocations: 250.6 kB / 0.5528 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007709/0.419, allocations: 327.7 kB / 0.5531 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.4392, allocations: 12.25 MB / 0.5651 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.4393, allocations: 31.7 kB / 0.5651 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004538/0.4398, allocations: 155.8 kB / 0.5652 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005018/0.4448, allocations: 2.848 MB / 0.568 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02178/0.4666, allocations: 11.11 MB / 0.5789 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05866/0.5252, allocations: 37.34 MB / 0.6153 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009644/0.5349, allocations: 3.713 MB / 0.619 GB, free: 7.32 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/0.5386, allocations: 2.262 MB / 0.6212 GB, free: 5.062 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009427/0.5395, allocations: 445.3 kB / 0.6216 GB, free: 4.629 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.943e-05/0.5396, allocations: 56.56 kB / 0.6216 GB, free: 4.562 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=249): time 7.344e-06/0.5396, allocations: 0 / 0.6216 GB, free: 4.562 MB / 0.5138 GB Notification: Performance of matching and sorting (n=267): time 0.04805/0.5877, allocations: 18.98 MB / 0.6402 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.5878, allocations: 73.41 kB / 0.6402 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005028/0.5928, allocations: 3.066 MB / 0.6432 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.593, allocations: 61.7 kB / 0.6433 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002527/0.5956, allocations: 3.271 MB / 0.6465 GB, free: 10.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.5969, allocations: 1.019 MB / 0.6475 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.5991, allocations: 1.192 MB / 0.6487 GB, free: 8.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5993, allocations: 301.1 kB / 0.6489 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/0.6035, allocations: 2.471 MB / 0.6514 GB, free: 5.965 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006932/0.6104, allocations: 5.727 MB / 0.6569 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.6221, allocations: 8.985 MB / 0.6657 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/0.6222, allocations: 32 kB / 0.6658 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01677/0.639, allocations: 8.983 MB / 0.6745 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.6391, allocations: 55.98 kB / 0.6746 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/0.6392, allocations: 120 kB / 0.6747 GB, free: 10.86 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/0.6425, allocations: 1.05 MB / 0.6757 GB, free: 9.801 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/0.6469, allocations: 1.349 MB / 0.677 GB, free: 8.449 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.6547, allocations: 5.372 MB / 0.6823 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003616/0.6583, allocations: 315.8 kB / 0.6826 GB, free: 2.668 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008047/0.6591, allocations: 344 kB / 0.6829 GB, free: 2.332 MB / 0.5763 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.004668/0.6638, allocations: 2.418 MB / 0.6853 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006485/0.6644, allocations: 302 kB / 0.6856 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.6745, allocations: 5.338 MB / 0.6908 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.788e-05/0.6746, allocations: 47.98 kB / 0.6908 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.6746, allocations: 8 kB / 0.6908 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.6746, allocations: 11.95 kB / 0.6908 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.277/0.9516, allocations: 11.37 MB / 0.7019 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/0.9516, allocations: 10.31 kB / 0.7019 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/0.9546, allocations: 418.9 kB / 0.7023 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004164/0.9588, allocations: 0.8963 MB / 0.7032 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004952/0.9593, allocations: 54.94 kB / 0.7033 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008492/0.9677, allocations: 4.669 MB / 0.7078 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.9678, allocations: 13.5 kB / 0.7078 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.9822, allocations: 7.983 MB / 0.7156 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.9833, allocations: 270.1 kB / 0.7159 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005986/0.9839, allocations: 52.61 kB / 0.716 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.986, allocations: 157 kB / 0.7161 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000647/0.9866, allocations: 175.5 kB / 0.7163 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/0.9869, allocations: 75.16 kB / 0.7163 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003779/0.9907, allocations: 1.726 MB / 0.718 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9907, allocations: 2.719 kB / 0.718 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008269/0.999, allocations: 1.067 MB / 0.7191 GB, free: 156.5 MB / 0.5919 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.0007182/0.9997, allocations: 193.3 kB / 0.7193 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.014, allocations: 5.796 MB / 0.7249 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-05/1.014, allocations: 2.219 kB / 0.7249 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005171/1.019, allocations: 2.097 MB / 0.727 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/1.024, allocations: 356 kB / 0.7273 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/1.049, allocations: 11.52 MB / 0.7386 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006317/1.056, allocations: 3.18 MB / 0.7417 GB, free: 147.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004972/1.061, allocations: 2.119 MB / 0.7437 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009447/1.062, allocations: 219.7 kB / 0.7439 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/1.062, allocations: 0 / 0.7439 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.05331/1.115, allocations: 28.96 MB / 0.7722 GB, free: 127 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 6.883802309981547]