Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.0009547/0.0009547, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002312, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009534/0.0009534, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002223, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9918/0.9918, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08424/1.076, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] 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.2695/0.2695, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0247/0.2942, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 3.938 kB / 293.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.048e-05/9.254e-05, allocations: 3.734 kB / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005657/0.00575, allocations: 6.546 MB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.009301, allocations: 2.472 MB / 302.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.009728, allocations: 35.88 kB / 302.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.01101, allocations: 1.074 MB / 304 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.01235, allocations: 0.9056 MB / 304.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.0129, allocations: 311.8 kB / 305.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.01456, allocations: 1.898 MB / 307.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.01551, allocations: 1.108 MB / 308.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.01654, allocations: 1.12 MB / 309.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.01743, allocations: 0.9076 MB / 310.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.01759, allocations: 128 kB / 310.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008815/0.01848, allocations: 0.6941 MB / 311 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005302/0.01901, allocations: 0.8998 MB / 311.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.01942, allocations: 494.1 kB / 312.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.0213, allocations: 2.315 MB / 314.7 MB, free: 208 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.02131, allocations: 0 / 314.7 MB, free: 208 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.02131, allocations: 0 / 314.7 MB, free: 208 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.688e-05/0.02136, allocations: 0 / 314.7 MB, free: 208 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.002874/0.02423, allocations: 2.999 MB / 317.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.02427, allocations: 8.922 kB / 317.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.02611, allocations: 0.7458 MB / 318.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009759/0.02709, allocations: 0.8323 MB / 319.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.02714, allocations: 115.3 kB / 319.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.02733, allocations: 156.2 kB / 319.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.03015, allocations: 3.007 MB / 322.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.03019, allocations: 23.81 kB / 322.6 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.03032, allocations: 79.89 kB / 322.7 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/0.03139, allocations: 1.253 MB / 323.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.03375, allocations: 1.554 MB / 325.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.0474, allocations: 20.31 MB / 345.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.04891, allocations: 0.7386 MB / 346.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.0491, allocations: 204.8 kB / 346.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/0.05098, allocations: 1.682 MB / 348.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.05101, allocations: 50.44 kB / 348.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 2.906e-06/0.05102, allocations: 4 kB / 348.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.004968/0.05599, allocations: 2.364 MB / 350.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.05604, allocations: 136.5 kB / 351 MB, free: 10.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.05732, allocations: 1.882 MB / 352.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.05736, allocations: 41.69 kB / 352.9 MB, free: 8.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000826/0.05818, allocations: 2.123 MB / 355 MB, free: 6.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.05839, allocations: 377.2 kB / 355.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005705/0.05896, allocations: 0.8145 MB / 356.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.05904, allocations: 337.9 kB / 356.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.05947, allocations: 446.6 kB / 357 MB, free: 4.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.06107, allocations: 3.245 MB / 360.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/0.06376, allocations: 4.19 MB / 364.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-05/0.06379, allocations: 32 kB / 364.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002856/0.06665, allocations: 2.92 MB / 367.4 MB, free: 6.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.0667, allocations: 59.97 kB / 367.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.116e-05/0.06676, allocations: 108 kB / 367.5 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.067, allocations: 183.6 kB / 367.7 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.06846, allocations: 1.068 MB / 368.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008279/0.06929, allocations: 1.432 MB / 370.2 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.07051, allocations: 199.7 kB / 370.4 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.07071, allocations: 248 kB / 370.6 MB, free: 3.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (536): * Single equations (assignments): 532 * Array equations: 3 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006969/0.07141, allocations: 492.8 kB / 371.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.07161, allocations: 119.9 kB / 371.2 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.07199, allocations: 339.8 kB / 371.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.072, allocations: 12.03 kB / 371.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.07201, allocations: 4 kB / 371.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.07202, allocations: 3.984 kB / 371.6 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.07423, allocations: 2.006 MB / 373.6 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.07423, allocations: 4 kB / 373.6 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.07449, allocations: 119.8 kB / 373.7 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.0747, allocations: 182.5 kB / 373.9 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.07496, allocations: 178.5 kB / 374.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.07499, allocations: 19.98 kB / 374.1 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006211/0.07561, allocations: 1.232 MB / 375.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.07561, allocations: 7.938 kB / 375.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.07638, allocations: 1.11 MB / 376.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.07649, allocations: 20 kB / 376.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.07677, allocations: 12 kB / 376.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.07683, allocations: 67.77 kB / 376.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.07686, allocations: 24 kB / 376.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000539/0.0774, allocations: 0.7039 MB / 377.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0774, allocations: 0 / 377.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001971/0.07937, allocations: 0.539 MB / 377.8 MB, free: 12.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (rev.phi,rev.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 (65): * Single equations (assignments): 61 * Array equations: 3 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/0.07962, allocations: 124.2 kB / 377.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.08132, allocations: 1.705 MB / 379.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001119/0.08143, allocations: 67.94 kB / 379.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.08169, allocations: 306.6 kB / 380 MB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.08244, allocations: 306.2 kB / 380.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.08832, allocations: 4.411 MB / 384.7 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.08893, allocations: 0.7116 MB / 385.4 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006702/0.0896, allocations: 320.5 kB / 385.7 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.08991, allocations: 323.3 kB / 386.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.08991, allocations: 0 / 386.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of Templates: time 0.02293/0.1128, allocations: 13.29 MB / 399.3 MB, free: 6.473 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.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: 3.420065409503877]