Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002586/0.002586, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002543/0.002543, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.374/0.374, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.777e-05/3.932e-05, allocations: 8.5 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.02029/0.02033, allocations: 14.31 MB / 391.5 MB, free: 4.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.03229, allocations: 4.329 MB / 395.9 MB, free: 160 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.03482, allocations: 95.62 kB / 396 MB, free: 64 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00584/0.04066, allocations: 2.378 MB / 398.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00656/0.04722, allocations: 2.12 MB / 400.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.04947, allocations: 0.6743 MB / 401.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008449/0.05792, allocations: 4.697 MB / 405.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006009/0.06393, allocations: 3.016 MB / 408.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006123/0.07005, allocations: 2.448 MB / 411.3 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005479/0.07553, allocations: 2.424 MB / 413.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.07685, allocations: 347.9 kB / 414.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.07986, allocations: 1.006 MB / 415.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002874/0.08273, allocations: 2.1 MB / 417.2 MB, free: 10.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.08565, allocations: 1.304 MB / 418.5 MB, free: 9.453 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.09895, allocations: 7.759 MB / 426.2 MB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.09896, allocations: 0 / 426.2 MB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.09896, allocations: 0 / 426.2 MB, free: 1.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003119/0.09927, allocations: 4 kB / 426.2 MB, free: 1.664 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.01551/0.1148, allocations: 6.089 MB / 432.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1148, allocations: 8.031 kB / 432.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.1283, allocations: 3.816 MB / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007023/0.1353, allocations: 2.187 MB / 438.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.1355, allocations: 246.6 kB / 438.6 MB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.1367, allocations: 336.1 kB / 438.9 MB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2289/0.3656, allocations: 6.891 MB / 445.8 MB, free: 93.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.3657, allocations: 36.72 kB / 445.8 MB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006384/0.3664, allocations: 150.3 kB / 446 MB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004524/0.3709, allocations: 2.846 MB / 448.8 MB, free: 93.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.3859, allocations: 4.361 MB / 453.2 MB, free: 92.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05772/0.4437, allocations: 49.87 MB / 0.4913 GB, free: 57.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006977/0.4506, allocations: 1.956 MB / 0.4932 GB, free: 57.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.4523, allocations: 0.744 MB / 0.4939 GB, free: 56.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.4529, allocations: 415.8 kB / 0.4943 GB, free: 56.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.453, allocations: 54.36 kB / 0.4943 GB, free: 56.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.569e-06/0.453, allocations: 0 / 0.4943 GB, free: 56.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.03288/0.4859, allocations: 11.25 MB / 0.5053 GB, free: 49.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4859, allocations: 74.06 kB / 0.5054 GB, free: 49.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/0.49, allocations: 3.572 MB / 0.5089 GB, free: 46.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003577/0.4903, allocations: 57.7 kB / 0.5089 GB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.4923, allocations: 3.56 MB / 0.5124 GB, free: 42.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/0.4934, allocations: 1.122 MB / 0.5135 GB, free: 41.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.495, allocations: 1.482 MB / 0.515 GB, free: 40.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.4951, allocations: 477.5 kB / 0.5154 GB, free: 39.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.4967, allocations: 0.8136 MB / 0.5162 GB, free: 39.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.4997, allocations: 5.831 MB / 0.5219 GB, free: 31.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005383/0.5051, allocations: 7.357 MB / 0.5291 GB, free: 22.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.637e-05/0.5051, allocations: 35.94 kB / 0.5291 GB, free: 22.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01167/0.5168, allocations: 5.811 MB / 0.5348 GB, free: 16.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.775e-05/0.5169, allocations: 56.94 kB / 0.5349 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.517, allocations: 112 kB / 0.535 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.5197, allocations: 0.7654 MB / 0.5357 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/0.5239, allocations: 1.353 MB / 0.537 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004894/0.5288, allocations: 3.403 MB / 0.5404 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/0.5329, allocations: 358.4 kB / 0.5407 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006867/0.5336, allocations: 336 kB / 0.541 GB, free: 10.64 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.002984/0.5366, allocations: 0.7743 MB / 0.5418 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007351/0.5373, allocations: 373.9 kB / 0.5421 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006405/0.5437, allocations: 2.983 MB / 0.545 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/0.5438, allocations: 47.98 kB / 0.5451 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5438, allocations: 4 kB / 0.5451 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.5438, allocations: 11.95 kB / 0.5451 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/0.5633, allocations: 8.913 MB / 0.5538 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.5633, allocations: 8 kB / 0.5538 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.5652, allocations: 419.9 kB / 0.5542 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/0.568, allocations: 0.6124 MB / 0.5548 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.5682, allocations: 59.92 kB / 0.5549 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.5734, allocations: 2.801 MB / 0.5576 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-05/0.5734, allocations: 15.94 kB / 0.5576 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009125/0.5825, allocations: 3.725 MB / 0.5613 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009609/0.5835, allocations: 285.9 kB / 0.5615 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004594/0.5839, allocations: 51.98 kB / 0.5616 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.5855, allocations: 179.7 kB / 0.5618 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004446/0.5859, allocations: 177.4 kB / 0.5619 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/0.5862, allocations: 76 kB / 0.562 GB, free: 4.414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002669/0.5888, allocations: 1.457 MB / 0.5634 GB, free: 2.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5888, allocations: 0 / 0.5634 GB, free: 2.953 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005308/0.5941, allocations: 1.141 MB / 0.5645 GB, free: 1.812 MB / 426.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.0006041/0.5947, allocations: 210.6 kB / 0.5647 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008013/0.6028, allocations: 3.562 MB / 0.5682 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.6028, allocations: 4 kB / 0.5682 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.6053, allocations: 1.197 MB / 0.5694 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.6076, allocations: 367.1 kB / 0.5697 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.6264, allocations: 9.392 MB / 0.5789 GB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00431/0.6307, allocations: 2.803 MB / 0.5816 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004506/0.6352, allocations: 1.745 MB / 0.5833 GB, free: 14.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008234/0.636, allocations: 228.5 kB / 0.5836 GB, free: 14 MB / 458.7 MB Notification: Performance of SimCode: time 2.274e-06/0.636, allocations: 0 / 0.5836 GB, free: 14 MB / 458.7 MB Notification: Performance of Templates: time 0.06984/0.7058, allocations: 30.3 MB / 0.6132 GB, free: 32 kB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.088459393009543]