Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 91.62 kB / 21.44 MB, free: 3.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008994/0.0008994, allocations: 159.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8488/0.8488, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.267/0.267, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.565e-05, allocations: 11 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1952/0.1952, allocations: 6.045 MB / 446.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.1982, allocations: 2.301 MB / 449.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.1987, allocations: 34.78 kB / 449.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1999, allocations: 1.081 MB / 450.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.2011, allocations: 0.8898 MB / 451.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.2016, allocations: 317.7 kB / 451.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2028, allocations: 1.916 MB / 453.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.2036, allocations: 1.1 MB / 454.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007577/0.2043, allocations: 1.033 MB / 455.5 MB, free: 39.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.205, allocations: 0.9905 MB / 456.5 MB, free: 39.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.2052, allocations: 127.8 kB / 456.7 MB, free: 39.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.2059, allocations: 0.681 MB / 457.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.2063, allocations: 0.9859 MB / 458.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.2066, allocations: 0.5767 MB / 458.9 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.2088, allocations: 3.665 MB / 462.6 MB, free: 37.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2088, allocations: 0 / 462.6 MB, free: 37.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2088, allocations: 0 / 462.6 MB, free: 37.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.793e-05/0.2088, allocations: 0 / 462.6 MB, free: 37.35 MB / 410.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.002673/0.2115, allocations: 2.617 MB / 465.2 MB, free: 35.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2115, allocations: 13.91 kB / 465.2 MB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.214, allocations: 1.586 MB / 466.8 MB, free: 35.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.2152, allocations: 1.027 MB / 467.8 MB, free: 34.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/0.2153, allocations: 123 kB / 467.9 MB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.2155, allocations: 161.5 kB / 468.1 MB, free: 34.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00579/0.2212, allocations: 6.191 MB / 474.3 MB, free: 31.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.2213, allocations: 26 kB / 474.3 MB, free: 31.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.2214, allocations: 86.23 kB / 474.4 MB, free: 31.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001229/0.2227, allocations: 1.443 MB / 475.8 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006277/0.2289, allocations: 5.387 MB / 481.2 MB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/0.2463, allocations: 23.35 MB / 0.4927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.2493, allocations: 1.853 MB / 0.4946 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008478/0.2501, allocations: 0.8764 MB / 0.4954 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.2503, allocations: 97.8 kB / 0.4955 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2503, allocations: 46.25 kB / 0.4955 GB, free: 11.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.998e-06/0.2503, allocations: 0 / 0.4955 GB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01357/0.2639, allocations: 8.603 MB / 0.5039 GB, free: 7.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.2639, allocations: 141.1 kB / 0.5041 GB, free: 7.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.2659, allocations: 2.449 MB / 0.5065 GB, free: 5.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.266, allocations: 45.7 kB / 0.5065 GB, free: 5.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.2666, allocations: 2.114 MB / 0.5086 GB, free: 3.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.2668, allocations: 444.7 kB / 0.509 GB, free: 2.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/0.2673, allocations: 0.8617 MB / 0.5098 GB, free: 1.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.2674, allocations: 337.9 kB / 0.5102 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009976/0.2684, allocations: 1.332 MB / 0.5115 GB, free: 124 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/0.2709, allocations: 4.104 MB / 0.5155 GB, free: 10.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/0.2757, allocations: 5.938 MB / 0.5213 GB, free: 3.293 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.34e-05/0.2758, allocations: 28 kB / 0.5213 GB, free: 3.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.006664/0.2824, allocations: 5.465 MB / 0.5266 GB, free: 13.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.2825, allocations: 47.98 kB / 0.5267 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.454e-05/0.2826, allocations: 105.9 kB / 0.5268 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/0.2832, allocations: 460.5 kB / 0.5272 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.2849, allocations: 0.9708 MB / 0.5282 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.2877, allocations: 3.526 MB / 0.5316 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.2895, allocations: 223.7 kB / 0.5318 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.2898, allocations: 275.9 kB / 0.5321 GB, free: 8.109 MB / 442.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.001662/0.2915, allocations: 1.369 MB / 0.5334 GB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.2917, allocations: 206.6 kB / 0.5336 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.2932, allocations: 1.297 MB / 0.5349 GB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.2932, allocations: 12 kB / 0.5349 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.2932, allocations: 4 kB / 0.5349 GB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2932, allocations: 4.453 kB / 0.5349 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/0.2979, allocations: 3.618 MB / 0.5384 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.2979, allocations: 3.938 kB / 0.5384 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.2983, allocations: 135.8 kB / 0.5386 GB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.2988, allocations: 316.5 kB / 0.5389 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.2988, allocations: 23.94 kB / 0.5389 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.3011, allocations: 2.919 MB / 0.5418 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3011, allocations: 4.062 kB / 0.5418 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.3038, allocations: 3.045 MB / 0.5447 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.3042, allocations: 174.5 kB / 0.5449 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.3043, allocations: 19.94 kB / 0.5449 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3047, allocations: 52 kB / 0.545 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.3048, allocations: 56.33 kB / 0.545 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.3049, allocations: 31.98 kB / 0.5451 GB, free: 10.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001429/0.3063, allocations: 1.378 MB / 0.5464 GB, free: 9.246 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3063, allocations: 0 / 0.5464 GB, free: 9.246 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002353/0.3086, allocations: 0.582 MB / 0.547 GB, free: 8.664 MB / 458.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.0003057/0.3089, allocations: 143 kB / 0.5471 GB, free: 8.516 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003445/0.3124, allocations: 3.105 MB / 0.5501 GB, free: 5.422 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3124, allocations: 0 / 0.5501 GB, free: 5.422 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.3132, allocations: 0.8017 MB / 0.5509 GB, free: 4.605 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009565/0.3142, allocations: 176.6 kB / 0.5511 GB, free: 4.438 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/0.3212, allocations: 5.742 MB / 0.5567 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.3226, allocations: 1.597 MB / 0.5583 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.323, allocations: 184.4 kB / 0.5584 GB, free: 12.83 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/0.323, allocations: 3.938 kB / 0.5584 GB, free: 12.83 MB / 474.7 MB Notification: Performance of Templates: time 0.04421/0.3672, allocations: 45.71 MB / 0.6031 GB, free: 15.17 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.77190494723618]