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.001926/0.001926, allocations: 116.1 kB / 19.13 MB, free: 3.941 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.002434/0.002434, allocations: 204.9 kB / 22.08 MB, free: 0.9961 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.492/1.492, allocations: 227.4 MB / 252.3 MB, free: 124 kB / 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.2417/0.2417, allocations: 46.18 MB / 351.8 MB, free: 14.39 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 0.002263/0.002263, allocations: 77.34 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1172, allocations: 62.44 MB / 0.5404 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01674/0.134, allocations: 14.95 MB / 0.555 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1454, allocations: 4.428 MB / 0.5593 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.1481, allocations: 79.81 kB / 0.5594 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005964/0.1542, allocations: 2.227 MB / 0.5615 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006436/0.1606, allocations: 1.969 MB / 0.5635 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.1628, allocations: 0.6161 MB / 0.5641 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00822/0.171, allocations: 4.308 MB / 0.5683 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005825/0.1769, allocations: 3.162 MB / 0.5713 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.1804, allocations: 1.569 MB / 0.5729 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004679/0.1851, allocations: 2.208 MB / 0.575 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.1865, allocations: 344 kB / 0.5754 GB, free: 384 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.1896, allocations: 1.034 MB / 0.5764 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00321/0.1929, allocations: 1.964 MB / 0.5783 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004302/0.1972, allocations: 2.376 MB / 0.5806 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.2084, allocations: 7.769 MB / 0.5882 GB, free: 3.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.2085, allocations: 4 kB / 0.5882 GB, free: 3.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2085, allocations: 0 / 0.5882 GB, free: 3.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002475/0.2088, allocations: 0 / 0.5882 GB, free: 3.176 MB / 446.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.01147/0.2202, allocations: 5.204 MB / 0.5933 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.2203, allocations: 12.03 kB / 0.5933 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.2316, allocations: 3.219 MB / 0.5964 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005746/0.2374, allocations: 2.386 MB / 0.5988 GB, free: 8.215 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.2377, allocations: 246.6 kB / 0.599 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.2389, allocations: 339.7 kB / 0.5993 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2929/0.5318, allocations: 12.23 MB / 0.6113 GB, free: 52.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.532, allocations: 30.58 kB / 0.6113 GB, free: 52.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004748/0.5325, allocations: 153 kB / 0.6114 GB, free: 52.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005087/0.5375, allocations: 2.851 MB / 0.6142 GB, free: 52.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02228/0.5599, allocations: 11.13 MB / 0.6251 GB, free: 48.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/0.6036, allocations: 40.6 MB / 0.6647 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007628/0.6113, allocations: 4.69 MB / 0.6693 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/0.6139, allocations: 2.431 MB / 0.6717 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008102/0.6147, allocations: 1.314 MB / 0.673 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.6147, allocations: 52.56 kB / 0.673 GB, free: 5.676 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.569e-06/0.6147, allocations: 0 / 0.673 GB, free: 5.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.04326/0.658, allocations: 18.77 MB / 0.6914 GB, free: 3.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.6581, allocations: 73.41 kB / 0.6914 GB, free: 2.945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/0.6631, allocations: 3.174 MB / 0.6945 GB, free: 15.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005128/0.6636, allocations: 66.44 kB / 0.6946 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002665/0.6663, allocations: 3.233 MB / 0.6978 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.6677, allocations: 1.027 MB / 0.6988 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/0.6695, allocations: 1.188 MB / 0.6999 GB, free: 10.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6697, allocations: 305.1 kB / 0.7002 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/0.6737, allocations: 2.467 MB / 0.7026 GB, free: 7.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007172/0.6809, allocations: 5.727 MB / 0.7082 GB, free: 216 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/0.6933, allocations: 8.986 MB / 0.717 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-05/0.6935, allocations: 32 kB / 0.717 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01916/0.7127, allocations: 9.021 MB / 0.7258 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.7128, allocations: 52 kB / 0.7259 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002205/0.7131, allocations: 120.8 kB / 0.726 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003395/0.7165, allocations: 1.043 MB / 0.727 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/0.7214, allocations: 1.357 MB / 0.7283 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008555/0.73, allocations: 5.54 MB / 0.7337 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/0.7342, allocations: 331.7 kB / 0.7341 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/0.7355, allocations: 336 kB / 0.7344 GB, free: 3.66 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.005072/0.7406, allocations: 2.413 MB / 0.7367 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007758/0.7414, allocations: 325.9 kB / 0.737 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.752, allocations: 5.368 MB / 0.7423 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.237e-05/0.7521, allocations: 47.98 kB / 0.7423 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.7522, allocations: 0 / 0.7423 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.7522, allocations: 15.95 kB / 0.7424 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/0.7764, allocations: 13.04 MB / 0.7551 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/0.7765, allocations: 12 kB / 0.7551 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.7784, allocations: 423.3 kB / 0.7555 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/0.7813, allocations: 0.8929 MB / 0.7564 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/0.7817, allocations: 55.98 kB / 0.7564 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007096/0.7888, allocations: 4.84 MB / 0.7611 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-05/0.7888, allocations: 15.94 kB / 0.7612 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.8026, allocations: 8.034 MB / 0.769 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009514/0.8036, allocations: 383 kB / 0.7694 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007202/0.8043, allocations: 51.92 kB / 0.7694 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.806, allocations: 151.8 kB / 0.7696 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/0.8065, allocations: 169.5 kB / 0.7697 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/0.8067, allocations: 79.98 kB / 0.7698 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003411/0.8102, allocations: 1.952 MB / 0.7717 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8102, allocations: 0 / 0.7717 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005003/0.8152, allocations: 1.066 MB / 0.7728 GB, free: 11.66 MB / 0.5606 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.000695/0.8159, allocations: 194.7 kB / 0.7729 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.8264, allocations: 6.055 MB / 0.7789 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.8264, allocations: 8 kB / 0.7789 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003796/0.8302, allocations: 2.253 MB / 0.7811 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.8332, allocations: 451.5 kB / 0.7815 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/0.8555, allocations: 11.92 MB / 0.7931 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004853/0.8603, allocations: 3.704 MB / 0.7967 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.8616, allocations: 287.4 kB / 0.797 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.8617, allocations: 0 / 0.797 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of Templates: time 0.3681/1.23, allocations: 84.67 MB / 0.8797 GB, free: 198.5 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.230184865999036]