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.001958/0.001958, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001701/0.001701, allocations: 159.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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.537/1.537, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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.2224/0.2224, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] 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.994e-06/1.994e-06, allocations: 0 / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.814e-05/4.014e-05, allocations: 6.281 kB / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2525/0.2526, allocations: 13.01 MB / 455.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.2626, allocations: 4.235 MB / 459.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.2655, allocations: 92.75 kB / 460 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.2703, allocations: 2.283 MB / 462.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.2763, allocations: 2.117 MB / 464.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.2782, allocations: 0.6662 MB / 465.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007599/0.2858, allocations: 4.696 MB / 469.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005287/0.2911, allocations: 2.933 MB / 472.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/0.2967, allocations: 2.433 MB / 475.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/0.3005, allocations: 2.4 MB / 477.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007935/0.3013, allocations: 344.8 kB / 477.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.3034, allocations: 1.006 MB / 478.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.3053, allocations: 2.089 MB / 481 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.3074, allocations: 1.307 MB / 482.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.3186, allocations: 7.748 MB / 490 MB, free: 6.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3186, allocations: 0 / 490 MB, free: 6.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3186, allocations: 4 kB / 490 MB, free: 6.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000261/0.3188, allocations: 0 / 490 MB, free: 6.465 MB / 382.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.01326/0.3321, allocations: 5.113 MB / 495.1 MB, free: 1.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3322, allocations: 8.031 kB / 495.2 MB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.3444, allocations: 3.273 MB / 498.4 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006254/0.3506, allocations: 2.321 MB / 0.489 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.3509, allocations: 254.6 kB / 0.4893 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.3524, allocations: 328.1 kB / 0.4896 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/0.3798, allocations: 12.25 MB / 0.5015 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.3799, allocations: 35.64 kB / 0.5016 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007417/0.3807, allocations: 163.8 kB / 0.5017 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007653/0.3883, allocations: 2.848 MB / 0.5045 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.031/0.4193, allocations: 11.1 MB / 0.5153 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06475/0.4841, allocations: 37.38 MB / 0.5518 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.4946, allocations: 3.722 MB / 0.5555 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004118/0.4987, allocations: 2.251 MB / 0.5577 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.4997, allocations: 441.3 kB / 0.5581 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.4998, allocations: 63.3 kB / 0.5582 GB, free: 3.293 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 5.75e-06/0.4998, allocations: 0 / 0.5582 GB, free: 3.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.04877/0.5486, allocations: 19.06 MB / 0.5768 GB, free: 164 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.5487, allocations: 77.34 kB / 0.5768 GB, free: 76 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005133/0.5538, allocations: 3.136 MB / 0.5799 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005805/0.5544, allocations: 61.7 kB / 0.58 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002903/0.5573, allocations: 3.248 MB / 0.5831 GB, free: 9.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/0.5587, allocations: 1.004 MB / 0.5841 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001736/0.5604, allocations: 1.168 MB / 0.5853 GB, free: 7.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.5606, allocations: 305.1 kB / 0.5855 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/0.5646, allocations: 2.471 MB / 0.588 GB, free: 4.598 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007845/0.5724, allocations: 5.727 MB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/0.5857, allocations: 8.985 MB / 0.6023 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/0.5859, allocations: 32 kB / 0.6024 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01959/0.6055, allocations: 8.993 MB / 0.6111 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.6056, allocations: 52 kB / 0.6112 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/0.6058, allocations: 116 kB / 0.6113 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/0.6092, allocations: 1.05 MB / 0.6123 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/0.6141, allocations: 1.345 MB / 0.6136 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/0.6224, allocations: 5.379 MB / 0.6189 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/0.6264, allocations: 351.9 kB / 0.6192 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009899/0.6274, allocations: 340 kB / 0.6196 GB, free: 0.9258 MB / 0.5137 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.00467/0.632, allocations: 2.413 MB / 0.6219 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007226/0.6328, allocations: 309.8 kB / 0.6222 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.6433, allocations: 5.342 MB / 0.6274 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.059e-05/0.6434, allocations: 47.98 kB / 0.6275 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.6434, allocations: 7.938 kB / 0.6275 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.6434, allocations: 11.95 kB / 0.6275 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.258/0.9015, allocations: 11.4 MB / 0.6386 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.9015, allocations: 11.61 kB / 0.6386 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/0.9036, allocations: 424.1 kB / 0.639 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.9067, allocations: 0.8888 MB / 0.6399 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003439/0.9071, allocations: 51.12 kB / 0.6399 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006697/0.9138, allocations: 4.689 MB / 0.6445 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/0.9138, allocations: 16.41 kB / 0.6445 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.9271, allocations: 7.969 MB / 0.6523 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.9283, allocations: 291.4 kB / 0.6526 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/0.9287, allocations: 53.31 kB / 0.6527 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.9303, allocations: 180.9 kB / 0.6528 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/0.9308, allocations: 180 kB / 0.653 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/0.931, allocations: 75.81 kB / 0.6531 GB, free: 160 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00288/0.9339, allocations: 1.791 MB / 0.6548 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.9339, allocations: 2.031 kB / 0.6548 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005127/0.939, allocations: 1.136 MB / 0.6559 GB, free: 159.3 MB / 0.5294 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.0005985/0.9396, allocations: 208.6 kB / 0.6561 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008347/0.9479, allocations: 5.785 MB / 0.6618 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.701e-05/0.948, allocations: 3.812 kB / 0.6618 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/0.9504, allocations: 2.1 MB / 0.6638 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.9527, allocations: 367.8 kB / 0.6642 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.9693, allocations: 11.39 MB / 0.6753 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003191/0.9725, allocations: 3.182 MB / 0.6784 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003852/0.9763, allocations: 2.122 MB / 0.6805 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/0.9771, allocations: 224 kB / 0.6807 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.763e-06/0.9771, allocations: 0 / 0.6807 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.05532/1.032, allocations: 30.16 MB / 0.7101 GB, free: 118.3 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] 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.032261349260807]