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.001592/0.001592, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.002076/0.002076, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9967/0.9967, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.3109/0.3109, allocations: 34.25 MB / 295.7 MB, free: 0.7578 MB / 266.7 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 1.853e-06/1.853e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.815e-05, allocations: 5.828 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01182/0.01185, allocations: 14.41 MB / 392.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007978/0.01983, allocations: 4.341 MB / 396.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.02143, allocations: 87.69 kB / 396.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.024, allocations: 2.386 MB / 399.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.02666, allocations: 2.123 MB / 401.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009138/0.02758, allocations: 0.6781 MB / 402.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003057/0.03063, allocations: 4.687 MB / 406.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.03257, allocations: 3.028 MB / 409.8 MB, free: 2.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.03452, allocations: 2.444 MB / 412.2 MB, free: 304 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.03638, allocations: 2.42 MB / 414.7 MB, free: 13.87 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003098/0.03669, allocations: 348 kB / 415 MB, free: 13.53 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.03787, allocations: 1.002 MB / 416 MB, free: 12.53 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.03895, allocations: 2.1 MB / 418.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.04002, allocations: 1.304 MB / 419.4 MB, free: 9.113 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.04373, allocations: 4.961 MB / 424.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.04374, allocations: 0 / 424.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.04374, allocations: 0 / 424.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.368e-05/0.04379, allocations: 0 / 424.4 MB, free: 4.133 MB / 394.7 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.005505/0.04929, allocations: 5.605 MB / 430 MB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.04933, allocations: 12.03 kB / 430 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006074/0.0554, allocations: 3.82 MB / 433.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.05782, allocations: 2.172 MB / 436 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.05794, allocations: 250.6 kB / 436.2 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.05833, allocations: 332.1 kB / 436.5 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007165/0.0655, allocations: 6.352 MB / 442.9 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/0.06556, allocations: 39.69 kB / 442.9 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.06585, allocations: 159.8 kB / 443.1 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1689/0.2347, allocations: 2.84 MB / 445.9 MB, free: 89.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.2461, allocations: 3.783 MB / 449.7 MB, free: 89.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03666/0.2828, allocations: 40.27 MB / 490 MB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/0.2872, allocations: 1.908 MB / 491.9 MB, free: 61.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.2885, allocations: 0.7254 MB / 492.6 MB, free: 61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.2891, allocations: 415.2 kB / 493 MB, free: 60.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.2891, allocations: 59.55 kB / 493.1 MB, free: 60.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.953e-06/0.2891, allocations: 0 / 493.1 MB, free: 60.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.02375/0.3129, allocations: 11.04 MB / 0.4923 GB, free: 58.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.3129, allocations: 74.56 kB / 0.4924 GB, free: 58.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.3169, allocations: 2.872 MB / 0.4952 GB, free: 56.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.3171, allocations: 65.39 kB / 0.4952 GB, free: 56.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001841/0.319, allocations: 3.386 MB / 0.4985 GB, free: 54.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009332/0.3199, allocations: 1.055 MB / 0.4996 GB, free: 53.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/0.3214, allocations: 1.258 MB / 0.5008 GB, free: 52.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.3214, allocations: 481.5 kB / 0.5013 GB, free: 52.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.3231, allocations: 0.7542 MB / 0.502 GB, free: 52.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003268/0.3263, allocations: 5.577 MB / 0.5074 GB, free: 44.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00582/0.3321, allocations: 7.033 MB / 0.5143 GB, free: 35.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.981e-05/0.3322, allocations: 32 kB / 0.5143 GB, free: 35.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01075/0.343, allocations: 5.669 MB / 0.5199 GB, free: 30.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.363e-05/0.343, allocations: 53 kB / 0.5199 GB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/0.3432, allocations: 112 kB / 0.52 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.3454, allocations: 0.7431 MB / 0.5208 GB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/0.349, allocations: 1.356 MB / 0.5221 GB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.3528, allocations: 3.295 MB / 0.5253 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003688/0.3565, allocations: 348.6 kB / 0.5256 GB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005794/0.3571, allocations: 335.8 kB / 0.526 GB, free: 24.89 MB / 410.7 MB 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.001925/0.359, allocations: 0.6403 MB / 0.5266 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005905/0.3596, allocations: 373.9 kB / 0.5269 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004956/0.3645, allocations: 2.783 MB / 0.5297 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/0.3646, allocations: 55.73 kB / 0.5297 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3646, allocations: 3.719 kB / 0.5297 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.3646, allocations: 7.781 kB / 0.5297 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.3775, allocations: 7.633 MB / 0.5372 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.3775, allocations: 8 kB / 0.5372 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.3787, allocations: 423.3 kB / 0.5376 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3805, allocations: 0.6012 MB / 0.5382 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.3807, allocations: 54.89 kB / 0.5382 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.3831, allocations: 2.687 MB / 0.5408 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.3831, allocations: 19.94 kB / 0.5409 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.3879, allocations: 3.546 MB / 0.5443 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.3886, allocations: 285.9 kB / 0.5446 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.3889, allocations: 56.75 kB / 0.5447 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.3898, allocations: 182.9 kB / 0.5448 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.39, allocations: 177.4 kB / 0.545 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.3901, allocations: 76 kB / 0.5451 GB, free: 5.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001412/0.3916, allocations: 1.207 MB / 0.5462 GB, free: 4.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3916, allocations: 7.938 kB / 0.5463 GB, free: 4.465 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00375/0.3953, allocations: 1.137 MB / 0.5474 GB, free: 3.332 MB / 410.7 MB 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.0004778/0.3958, allocations: 208.9 kB / 0.5476 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00505/0.4008, allocations: 3.272 MB / 0.5508 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.4008, allocations: 5.875 kB / 0.5508 GB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.4023, allocations: 1.096 MB / 0.5518 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.4043, allocations: 365.7 kB / 0.5522 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.4203, allocations: 9.241 MB / 0.5612 GB, free: 4.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.4219, allocations: 1.414 MB / 0.5626 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002882/0.4247, allocations: 1.743 MB / 0.5643 GB, free: 1.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.4253, allocations: 228.5 kB / 0.5645 GB, free: 1.473 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4253, allocations: 0 / 0.5645 GB, free: 1.473 MB / 426.7 MB Notification: Performance of Templates: time 0.04546/0.4708, allocations: 30.34 MB / 0.5941 GB, free: 3.609 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.731927534099668]