Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001364/0.001364, allocations: 71.75 kB / 21.24 MB, free: 400 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.001468/0.001468, allocations: 167.3 kB / 24.5 MB, free: 3.453 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.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2069/0.2069, allocations: 32.8 MB / 294.1 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 63.91 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3053, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01057/0.3159, allocations: 13.02 MB / 0.5069 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.3234, allocations: 4.237 MB / 0.511 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.3255, allocations: 94 kB / 0.5111 GB, free: 20.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.3292, allocations: 2.181 MB / 0.5132 GB, free: 19.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.3338, allocations: 2.049 MB / 0.5152 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3353, allocations: 0.6111 MB / 0.5158 GB, free: 18.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006124/0.3414, allocations: 4.304 MB / 0.52 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003717/0.3451, allocations: 2.654 MB / 0.5226 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.3482, allocations: 1.624 MB / 0.5242 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003926/0.3521, allocations: 2.304 MB / 0.5265 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.3531, allocations: 342.5 kB / 0.5268 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.3555, allocations: 0.94 MB / 0.5277 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.3576, allocations: 2.01 MB / 0.5297 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.3603, allocations: 1.719 MB / 0.5313 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009675/0.3699, allocations: 7.815 MB / 0.539 GB, free: 7.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3699, allocations: 1.125 kB / 0.539 GB, free: 7.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3699, allocations: 0 / 0.539 GB, free: 7.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001958/0.3701, allocations: 0 / 0.539 GB, free: 7.551 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.01054/0.3807, allocations: 5.125 MB / 0.544 GB, free: 3.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3807, allocations: 8.594 kB / 0.544 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.3917, allocations: 3.259 MB / 0.5472 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/0.3971, allocations: 2.345 MB / 0.5495 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.3973, allocations: 246.7 kB / 0.5497 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.3983, allocations: 335.7 kB / 0.55 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.4212, allocations: 12.25 MB / 0.562 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.4213, allocations: 31.7 kB / 0.562 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005005/0.4218, allocations: 151.8 kB / 0.5621 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005201/0.427, allocations: 2.848 MB / 0.5649 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.449, allocations: 11.11 MB / 0.5758 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05802/0.507, allocations: 37.34 MB / 0.6123 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00957/0.5166, allocations: 3.725 MB / 0.6159 GB, free: 10.59 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.52, allocations: 2.255 MB / 0.6181 GB, free: 8.34 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008862/0.5209, allocations: 449.2 kB / 0.6185 GB, free: 7.902 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.5209, allocations: 56.56 kB / 0.6186 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=249): time 5.35e-06/0.5209, allocations: 0 / 0.6186 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of matching and sorting (n=267): time 0.04574/0.5667, allocations: 18.98 MB / 0.6371 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.5667, allocations: 73.41 kB / 0.6372 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/0.5711, allocations: 3.058 MB / 0.6402 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.5714, allocations: 57.7 kB / 0.6402 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00255/0.5739, allocations: 3.275 MB / 0.6434 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.575, allocations: 1.019 MB / 0.6444 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/0.5768, allocations: 1.192 MB / 0.6456 GB, free: 12.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.577, allocations: 309.1 kB / 0.6459 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/0.5809, allocations: 2.467 MB / 0.6483 GB, free: 9.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006863/0.5877, allocations: 5.731 MB / 0.6539 GB, free: 1.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/0.6014, allocations: 8.988 MB / 0.6627 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.6015, allocations: 35.94 kB / 0.6627 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01815/0.6197, allocations: 8.979 MB / 0.6715 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.6198, allocations: 52 kB / 0.6715 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/0.6199, allocations: 120.1 kB / 0.6716 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.6233, allocations: 1.046 MB / 0.6726 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005127/0.6285, allocations: 1.349 MB / 0.674 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/0.6368, allocations: 5.364 MB / 0.6792 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/0.6412, allocations: 315.8 kB / 0.6795 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/0.642, allocations: 340 kB / 0.6798 GB, free: 5.617 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.004769/0.6468, allocations: 2.425 MB / 0.6822 GB, free: 3.18 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/0.6474, allocations: 302 kB / 0.6825 GB, free: 2.883 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.6576, allocations: 5.342 MB / 0.6877 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-05/0.6577, allocations: 51.98 kB / 0.6878 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6577, allocations: 4 kB / 0.6878 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.6577, allocations: 11.95 kB / 0.6878 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/0.6801, allocations: 11.36 MB / 0.6989 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.6801, allocations: 12.25 kB / 0.6989 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/0.6821, allocations: 419.3 kB / 0.6993 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003107/0.6852, allocations: 0.894 MB / 0.7001 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003895/0.6856, allocations: 55.98 kB / 0.7002 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2494/0.935, allocations: 4.661 MB / 0.7048 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/0.935, allocations: 14.69 kB / 0.7048 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.9454, allocations: 7.994 MB / 0.7126 GB, free: 162 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/0.9461, allocations: 272.4 kB / 0.7128 GB, free: 162 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.9465, allocations: 53.62 kB / 0.7129 GB, free: 162 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.9477, allocations: 148 kB / 0.713 GB, free: 162 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/0.9481, allocations: 175.3 kB / 0.7132 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/0.9483, allocations: 77.06 kB / 0.7133 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002241/0.9505, allocations: 1.729 MB / 0.715 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9505, allocations: 4.875 kB / 0.715 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004404/0.9549, allocations: 1.059 MB / 0.716 GB, free: 161.2 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.0004551/0.9554, allocations: 200.1 kB / 0.7162 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008313/0.9637, allocations: 5.79 MB / 0.7218 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/0.9637, allocations: 4.375 kB / 0.7218 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.9666, allocations: 2.097 MB / 0.7239 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.9688, allocations: 362.9 kB / 0.7242 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/0.9893, allocations: 11.5 MB / 0.7355 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004689/0.994, allocations: 3.182 MB / 0.7386 GB, free: 152.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004391/0.9984, allocations: 2.12 MB / 0.7406 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/0.9991, allocations: 224 kB / 0.7409 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/0.9991, allocations: 0 / 0.7409 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.06372/1.063, allocations: 28.97 MB / 0.7692 GB, free: 133.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.76537712092977]