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.001944/0.001944, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002418/0.002418, allocations: 156.9 kB / 24.26 MB, free: 148 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.567/1.567, allocations: 177 MB / 204.4 MB, free: 5.602 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.4239/0.4239, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.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 1.744e-06/1.744e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.178e-05, allocations: 4.562 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009892/0.009924, allocations: 6.056 MB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.01659, allocations: 2.308 MB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.01771, allocations: 39.81 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.02047, allocations: 1.09 MB / 386.7 MB, free: 9.371 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.02337, allocations: 0.894 MB / 387.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009784/0.02435, allocations: 327 kB / 387.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003202/0.02755, allocations: 1.899 MB / 389.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.0294, allocations: 1.127 MB / 390.9 MB, free: 5.098 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.03126, allocations: 1.04 MB / 392 MB, free: 4.055 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.03306, allocations: 0.9895 MB / 392.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.03334, allocations: 128 kB / 393.1 MB, free: 2.938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.03481, allocations: 0.6784 MB / 393.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.03597, allocations: 0.9853 MB / 394.7 MB, free: 1.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.03699, allocations: 0.5759 MB / 395.3 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.04275, allocations: 3.671 MB / 399 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.04276, allocations: 0 / 399 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04276, allocations: 0 / 399 MB, free: 13.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000122/0.04288, allocations: 0 / 399 MB, free: 13.01 MB / 378.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.006217/0.0491, allocations: 2.612 MB / 401.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.04914, allocations: 8.031 kB / 401.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006577/0.05572, allocations: 1.934 MB / 403.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.05816, allocations: 1.042 MB / 404.6 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.05829, allocations: 123.3 kB / 404.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.05866, allocations: 160.2 kB / 404.9 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.07046, allocations: 6.187 MB / 411 MB, free: 392 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.07057, allocations: 27.75 kB / 411.1 MB, free: 364 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.0709, allocations: 91.88 kB / 411.2 MB, free: 272 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00303/0.07393, allocations: 1.437 MB / 412.6 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.08536, allocations: 5.373 MB / 418 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03589/0.1213, allocations: 23.4 MB / 441.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1776/0.2988, allocations: 1.851 MB / 443.2 MB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009493/0.2998, allocations: 0.8794 MB / 444.1 MB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.3, allocations: 99.02 kB / 444.2 MB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3, allocations: 40.16 kB / 444.2 MB, free: 100.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.725e-06/0.3, allocations: 0 / 444.2 MB, free: 100.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01907/0.3191, allocations: 8.665 MB / 452.9 MB, free: 97.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3191, allocations: 142 kB / 453 MB, free: 97.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.3213, allocations: 2.449 MB / 455.5 MB, free: 96.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/0.3214, allocations: 40.33 kB / 455.5 MB, free: 96.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/0.3221, allocations: 2.116 MB / 457.6 MB, free: 94.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.3223, allocations: 448.2 kB / 458.1 MB, free: 94.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007543/0.3231, allocations: 0.8601 MB / 458.9 MB, free: 93.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.3231, allocations: 341.2 kB / 459.3 MB, free: 93.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.3245, allocations: 1.33 MB / 460.6 MB, free: 93.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.3266, allocations: 4.109 MB / 464.7 MB, free: 88.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/0.3307, allocations: 5.943 MB / 470.7 MB, free: 83.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.954e-05/0.3308, allocations: 31.16 kB / 470.7 MB, free: 83.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007038/0.3378, allocations: 5.702 MB / 476.4 MB, free: 81.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.3379, allocations: 47.53 kB / 476.4 MB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.338, allocations: 99.94 kB / 476.5 MB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.3392, allocations: 0.4987 MB / 477 MB, free: 81.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.3418, allocations: 0.978 MB / 478 MB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.3452, allocations: 3.532 MB / 481.5 MB, free: 79.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.3477, allocations: 226.3 kB / 481.8 MB, free: 79.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000389/0.3481, allocations: 270.8 kB / 482 MB, free: 79.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002035/0.3501, allocations: 1.365 MB / 483.4 MB, free: 78.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004998/0.3506, allocations: 232.4 kB / 483.6 MB, free: 78.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.3528, allocations: 1.294 MB / 484.9 MB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.3528, allocations: 12.81 kB / 484.9 MB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3529, allocations: 3.156 kB / 484.9 MB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3529, allocations: 5.062 kB / 484.9 MB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.3591, allocations: 3.613 MB / 488.6 MB, free: 76.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.3591, allocations: 0 / 488.6 MB, free: 76.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.3597, allocations: 140.6 kB / 488.7 MB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008898/0.3606, allocations: 375.4 kB / 489.1 MB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.3606, allocations: 19.88 kB / 489.1 MB, free: 76.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.3633, allocations: 2.93 MB / 492 MB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3633, allocations: 0 / 492 MB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.3666, allocations: 3.078 MB / 495.1 MB, free: 72.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.367, allocations: 175.9 kB / 495.3 MB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.3672, allocations: 19.41 kB / 495.3 MB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.3678, allocations: 51.05 kB / 495.3 MB, free: 72.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.368, allocations: 54.67 kB / 495.4 MB, free: 72.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.368, allocations: 31.09 kB / 495.4 MB, free: 72.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001592/0.3696, allocations: 1.372 MB / 496.8 MB, free: 71.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3696, allocations: 0 / 496.8 MB, free: 71.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003143/0.3728, allocations: 0.5819 MB / 497.4 MB, free: 71.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.3731, allocations: 148.1 kB / 497.5 MB, free: 70.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00375/0.3768, allocations: 3.108 MB / 0.4889 GB, free: 68.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3768, allocations: 0 / 0.4889 GB, free: 68.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008673/0.3777, allocations: 0.8049 MB / 0.4897 GB, free: 67.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3788, allocations: 181.9 kB / 0.4898 GB, free: 67.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/0.3857, allocations: 5.523 MB / 0.4952 GB, free: 62.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/0.3874, allocations: 1.604 MB / 0.4968 GB, free: 61.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002708/0.3901, allocations: 1.364 MB / 0.4981 GB, free: 60.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.3905, allocations: 138 kB / 0.4983 GB, free: 60.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3905, allocations: 0 / 0.4983 GB, free: 60.13 MB / 410.7 MB Notification: Performance of Templates: time 0.02747/0.4179, allocations: 16.42 MB / 0.5143 GB, free: 45.78 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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: 6.082729351008311]