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.0007027/0.0007027, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007786/0.0007786, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 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.8448/0.8448, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1351/0.1351, allocations: 32.38 MB / 270.4 MB, free: 14.97 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.854e-06/1.854e-06, allocations: 0 / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.626e-05, allocations: 5.938 kB / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01552/0.01556, allocations: 13.69 MB / 421.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009047/0.0246, allocations: 4.311 MB / 426.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.02713, allocations: 99.62 kB / 426.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003137/0.03026, allocations: 2.312 MB / 428.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.03469, allocations: 2.228 MB / 430.8 MB, free: 6.266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.03601, allocations: 0.6703 MB / 431.4 MB, free: 5.594 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005627/0.04164, allocations: 4.82 MB / 436.3 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1711/0.2127, allocations: 3.003 MB / 439.3 MB, free: 16.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.2167, allocations: 2.552 MB / 441.8 MB, free: 16.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/0.2207, allocations: 2.457 MB / 444.3 MB, free: 16.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.2218, allocations: 355.2 kB / 444.6 MB, free: 16.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.2241, allocations: 1.027 MB / 445.6 MB, free: 16.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.2265, allocations: 2.191 MB / 447.8 MB, free: 16.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00245/0.2289, allocations: 1.374 MB / 449.2 MB, free: 16.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008747/0.2377, allocations: 8.044 MB / 457.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2377, allocations: 2.562 kB / 457.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2377, allocations: 1.375 kB / 457.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000314/0.238, allocations: 0 / 457.3 MB, free: 13.88 MB / 362.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.01087/0.2489, allocations: 5.321 MB / 462.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2489, allocations: 13.94 kB / 462.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/0.2546, allocations: 3.272 MB / 465.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004027/0.2586, allocations: 2.412 MB / 468.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.2588, allocations: 262.3 kB / 468.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/0.2594, allocations: 343.3 kB / 468.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.2741, allocations: 12.66 MB / 481.5 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.469e-05/0.2742, allocations: 40.73 kB / 481.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003266/0.2745, allocations: 162 kB / 481.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003085/0.2776, allocations: 3.028 MB / 484.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.2955, allocations: 11.31 MB / 496.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/0.3417, allocations: 38.85 MB / 0.5224 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005951/0.3476, allocations: 3.733 MB / 0.526 GB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/0.3502, allocations: 2.262 MB / 0.5282 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005163/0.3507, allocations: 442 kB / 0.5286 GB, free: 68 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3507, allocations: 59.38 kB / 0.5287 GB, free: 4 kB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 5.37e-06/0.3507, allocations: 0 / 0.5287 GB, free: 4 kB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.02878/0.3795, allocations: 19.96 MB / 0.5482 GB, free: 12.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3796, allocations: 105.8 kB / 0.5483 GB, free: 11.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.3828, allocations: 3.266 MB / 0.5515 GB, free: 8.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/0.3831, allocations: 64.86 kB / 0.5515 GB, free: 8.539 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.3845, allocations: 3.414 MB / 0.5549 GB, free: 5.133 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.3856, allocations: 0.9944 MB / 0.5558 GB, free: 4.148 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.3868, allocations: 1.212 MB / 0.557 GB, free: 2.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.3868, allocations: 301.1 kB / 0.5573 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.3892, allocations: 2.499 MB / 0.5598 GB, free: 132 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.3931, allocations: 5.888 MB / 0.5655 GB, free: 8.629 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007728/0.4009, allocations: 9.199 MB / 0.5745 GB, free: 14.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/0.401, allocations: 36 kB / 0.5745 GB, free: 14.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01158/0.4125, allocations: 9.152 MB / 0.5835 GB, free: 4.914 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.4126, allocations: 55.34 kB / 0.5835 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.4128, allocations: 120 kB / 0.5836 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.4145, allocations: 1.058 MB / 0.5847 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.4174, allocations: 1.4 MB / 0.586 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005071/0.4224, allocations: 5.386 MB / 0.5913 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.4256, allocations: 363.7 kB / 0.5916 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006211/0.4263, allocations: 350.5 kB / 0.592 GB, free: 12.11 MB / 0.4948 GB 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.004056/0.4303, allocations: 2.482 MB / 0.5944 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/0.4308, allocations: 321.8 kB / 0.5947 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005975/0.4368, allocations: 5.342 MB / 0.5999 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/0.4368, allocations: 50.48 kB / 0.6 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4368, allocations: 11.94 kB / 0.6 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.4368, allocations: 11.95 kB / 0.6 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.4523, allocations: 11.64 MB / 0.6114 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/0.4523, allocations: 12.19 kB / 0.6114 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.4534, allocations: 427.3 kB / 0.6118 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.4549, allocations: 0.8901 MB / 0.6126 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.4551, allocations: 52 kB / 0.6127 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.4595, allocations: 4.692 MB / 0.6173 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.4595, allocations: 15.94 kB / 0.6173 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1954/0.6549, allocations: 7.993 MB / 0.6251 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/0.6566, allocations: 0.666 MB / 0.6257 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.657, allocations: 53.33 kB / 0.6258 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/0.658, allocations: 188.1 kB / 0.626 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/0.6582, allocations: 175 kB / 0.6261 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.6584, allocations: 76.75 kB / 0.6262 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002575/0.661, allocations: 1.872 MB / 0.628 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.661, allocations: 0 / 0.628 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004226/0.6652, allocations: 1.191 MB / 0.6292 GB, free: 170.4 MB / 0.5105 GB 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.0005192/0.6658, allocations: 216.5 kB / 0.6294 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006752/0.6725, allocations: 5.861 MB / 0.6351 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/0.6725, allocations: 3.938 kB / 0.6351 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.6749, allocations: 2.106 MB / 0.6372 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.6772, allocations: 340 kB / 0.6375 GB, free: 167.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.6928, allocations: 12.27 MB / 0.6495 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/0.6959, allocations: 3.313 MB / 0.6527 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.6969, allocations: 283.6 kB / 0.653 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.064e-06/0.6969, allocations: 0 / 0.653 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.08049/0.7774, allocations: 88.1 MB / 0.739 GB, free: 73.85 MB / 0.5105 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.695643824525177]