Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001408/0.001408, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001585/0.001585, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8993/0.8993, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1441/0.1441, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.446e-05, allocations: 6.25 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01063/0.01065, allocations: 15.11 MB / 362.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008091/0.01874, allocations: 4.412 MB / 367.2 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.02023, allocations: 91.62 kB / 367.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.02282, allocations: 2.402 MB / 369.7 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.02609, allocations: 2.236 MB / 371.9 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.02722, allocations: 0.686 MB / 372.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.03115, allocations: 4.808 MB / 377.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.03362, allocations: 3.102 MB / 380.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.03601, allocations: 2.561 MB / 383.1 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.03855, allocations: 2.478 MB / 385.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000521/0.03907, allocations: 352 kB / 385.9 MB, free: 3.355 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.04043, allocations: 1.026 MB / 386.9 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.04173, allocations: 2.201 MB / 389.1 MB, free: 124 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.04298, allocations: 1.374 MB / 390.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.04759, allocations: 5.175 MB / 395.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.0476, allocations: 0 / 395.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0476, allocations: 0 / 395.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.669e-05/0.04767, allocations: 3.938 kB / 395.7 MB, free: 9.543 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.006396/0.05407, allocations: 5.813 MB / 401.5 MB, free: 3.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.05411, allocations: 16.02 kB / 401.5 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009086/0.0632, allocations: 3.878 MB / 405.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.06659, allocations: 2.242 MB / 407.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.06677, allocations: 266.9 kB / 407.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/0.06731, allocations: 340.1 kB / 408.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009861/0.07717, allocations: 6.577 MB / 414.8 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.23e-05/0.07726, allocations: 39.7 kB / 414.8 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003826/0.07764, allocations: 155.8 kB / 415 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003853/0.0815, allocations: 3.004 MB / 418 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009358/0.09085, allocations: 3.874 MB / 421.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1948/0.2856, allocations: 41.89 MB / 463.8 MB, free: 73.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/0.2904, allocations: 1.939 MB / 465.7 MB, free: 73.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008973/0.2913, allocations: 0.7244 MB / 466.4 MB, free: 73.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/0.2917, allocations: 413.9 kB / 466.8 MB, free: 73.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2917, allocations: 54.45 kB / 466.9 MB, free: 73.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=250): time 4.037e-06/0.2917, allocations: 0 / 466.9 MB, free: 73.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=268): time 0.02055/0.3123, allocations: 11.94 MB / 478.8 MB, free: 71.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3123, allocations: 105 kB / 478.9 MB, free: 71.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.3148, allocations: 2.972 MB / 481.9 MB, free: 69.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.3149, allocations: 63.7 kB / 482 MB, free: 69.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.3161, allocations: 3.553 MB / 485.5 MB, free: 66.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/0.3167, allocations: 1.056 MB / 486.6 MB, free: 65.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.3177, allocations: 1.289 MB / 487.8 MB, free: 64.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.3178, allocations: 476.8 kB / 488.3 MB, free: 63.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.3189, allocations: 0.7688 MB / 489.1 MB, free: 63.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.3214, allocations: 5.786 MB / 494.9 MB, free: 55.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00404/0.3255, allocations: 7.29 MB / 0.4904 GB, free: 45.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.371e-05/0.3255, allocations: 32 kB / 0.4904 GB, free: 45.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.006501/0.332, allocations: 5.815 MB / 0.4961 GB, free: 39.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.332, allocations: 56.84 kB / 0.4962 GB, free: 39.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.277e-05/0.3321, allocations: 120 kB / 0.4963 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.3336, allocations: 0.7616 MB / 0.497 GB, free: 39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.3358, allocations: 1.4 MB / 0.4984 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.3385, allocations: 3.291 MB / 0.5016 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.3405, allocations: 359.7 kB / 0.5019 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.3408, allocations: 359.1 kB / 0.5023 GB, free: 33.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * 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.001243/0.3421, allocations: 0.6453 MB / 0.5029 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.3424, allocations: 385.9 kB / 0.5033 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/0.346, allocations: 2.798 MB / 0.506 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/0.346, allocations: 47.98 kB / 0.5061 GB, free: 29.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3461, allocations: 0 / 0.5061 GB, free: 29.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3461, allocations: 19.95 kB / 0.5061 GB, free: 29.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009121/0.3552, allocations: 7.883 MB / 0.5138 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.3552, allocations: 12 kB / 0.5138 GB, free: 21.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008954/0.3561, allocations: 423.3 kB / 0.5142 GB, free: 21.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.3574, allocations: 0.6079 MB / 0.5148 GB, free: 20.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.3575, allocations: 52 kB / 0.5148 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.3597, allocations: 2.686 MB / 0.5175 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3597, allocations: 15.94 kB / 0.5175 GB, free: 17.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.3639, allocations: 3.579 MB / 0.521 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008232/0.3647, allocations: 0.6187 MB / 0.5216 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.365, allocations: 51.94 kB / 0.5216 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/0.3658, allocations: 187.1 kB / 0.5218 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.366, allocations: 178.5 kB / 0.522 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.3661, allocations: 80 kB / 0.522 GB, free: 12.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.3673, allocations: 1.256 MB / 0.5233 GB, free: 11.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3673, allocations: 0 / 0.5233 GB, free: 11.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003426/0.3707, allocations: 1.191 MB / 0.5244 GB, free: 10.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.0004279/0.3711, allocations: 221.6 kB / 0.5246 GB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004727/0.3759, allocations: 3.343 MB / 0.5279 GB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3759, allocations: 0 / 0.5279 GB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.3772, allocations: 1.094 MB / 0.529 GB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.3788, allocations: 355.3 kB / 0.5293 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.3923, allocations: 9.581 MB / 0.5387 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.3939, allocations: 1.473 MB / 0.5401 GB, free: 9.754 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003487/0.3974, allocations: 1.77 MB / 0.5418 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000666/0.398, allocations: 232.5 kB / 0.5421 GB, free: 7.754 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.398, allocations: 0 / 0.5421 GB, free: 7.754 MB / 394.7 MB Notification: Performance of Templates: time 0.05175/0.4498, allocations: 30.62 MB / 0.572 GB, free: 9.262 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.240622126031667]