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.0008764/0.0008764, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003503/0.003503, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 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 0.8987/0.8987, allocations: 177 MB / 204.8 MB, free: 5.723 MB / 186.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.2505/0.2505, allocations: 34.25 MB / 295.6 MB, free: 0.6758 MB / 266.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 1.413e-06/1.413e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.177e-05, allocations: 5.094 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1897/0.1897, allocations: 6.038 MB / 449.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1919, allocations: 2.31 MB / 451.8 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.1922, allocations: 33.56 kB / 451.8 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.1932, allocations: 1.077 MB / 452.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008625/0.1941, allocations: 0.8849 MB / 453.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1944, allocations: 323.9 kB / 454.1 MB, free: 38.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008537/0.1953, allocations: 1.904 MB / 456 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006129/0.1959, allocations: 1.108 MB / 457.1 MB, free: 37.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.1965, allocations: 1.038 MB / 458.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005956/0.197, allocations: 0.9923 MB / 459.1 MB, free: 36.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1972, allocations: 130.6 kB / 459.2 MB, free: 36.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005265/0.1977, allocations: 0.671 MB / 459.9 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.198, allocations: 0.9832 MB / 460.9 MB, free: 36.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.1983, allocations: 0.5806 MB / 461.5 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.2001, allocations: 3.665 MB / 465.1 MB, free: 34.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2001, allocations: 0 / 465.1 MB, free: 34.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2001, allocations: 0 / 465.1 MB, free: 34.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.2001, allocations: 7.188 kB / 465.1 MB, free: 34.64 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.00216/0.2022, allocations: 2.611 MB / 467.8 MB, free: 33.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2023, allocations: 13.41 kB / 467.8 MB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.2047, allocations: 1.592 MB / 469.4 MB, free: 32.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/0.2056, allocations: 1.027 MB / 470.4 MB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.2057, allocations: 115 kB / 470.5 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.2058, allocations: 161.9 kB / 470.7 MB, free: 32.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.2099, allocations: 6.193 MB / 476.9 MB, free: 29.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.2099, allocations: 24.75 kB / 476.9 MB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.2101, allocations: 79.45 kB / 477 MB, free: 29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/0.2112, allocations: 1.439 MB / 478.4 MB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005995/0.2172, allocations: 5.382 MB / 483.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/0.2322, allocations: 23.36 MB / 0.4953 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.2351, allocations: 1.848 MB / 0.4971 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.2359, allocations: 0.8797 MB / 0.4979 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.236, allocations: 92.42 kB / 0.498 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.236, allocations: 47.36 kB / 0.4981 GB, free: 8.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.715e-06/0.2361, allocations: 0 / 0.4981 GB, free: 8.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01305/0.2491, allocations: 8.595 MB / 0.5064 GB, free: 3.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2491, allocations: 136.5 kB / 0.5066 GB, free: 3.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.2509, allocations: 2.463 MB / 0.509 GB, free: 1.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.251, allocations: 37.7 kB / 0.509 GB, free: 1.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.2516, allocations: 2.112 MB / 0.5111 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.2519, allocations: 448.7 kB / 0.5115 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/0.2528, allocations: 0.8539 MB / 0.5123 GB, free: 13.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.2529, allocations: 341.9 kB / 0.5127 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.2541, allocations: 1.338 MB / 0.514 GB, free: 12.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.2564, allocations: 4.108 MB / 0.518 GB, free: 6.586 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.2605, allocations: 5.942 MB / 0.5238 GB, free: 15.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.57e-05/0.2605, allocations: 28 kB / 0.5238 GB, free: 15.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005233/0.2657, allocations: 5.463 MB / 0.5292 GB, free: 9.762 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.2658, allocations: 51.94 kB / 0.5292 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-05/0.2658, allocations: 96.28 kB / 0.5293 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.2664, allocations: 468.4 kB / 0.5297 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2679, allocations: 0.9749 MB / 0.5307 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.2709, allocations: 3.511 MB / 0.5341 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.2722, allocations: 231.7 kB / 0.5343 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.2725, allocations: 272 kB / 0.5346 GB, free: 4.078 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.001566/0.274, allocations: 1.358 MB / 0.5359 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.2742, allocations: 206.6 kB / 0.5361 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.2756, allocations: 1.301 MB / 0.5374 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.2756, allocations: 12 kB / 0.5374 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2756, allocations: 7.25 kB / 0.5374 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2756, allocations: 8.578 kB / 0.5374 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.2801, allocations: 3.621 MB / 0.541 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2801, allocations: 0 / 0.541 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.2805, allocations: 135.8 kB / 0.5411 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.2809, allocations: 320.5 kB / 0.5414 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.2809, allocations: 16 kB / 0.5414 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.283, allocations: 2.919 MB / 0.5443 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.283, allocations: 0 / 0.5443 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.2855, allocations: 3.053 MB / 0.5472 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2857, allocations: 174.5 kB / 0.5474 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.2858, allocations: 23.92 kB / 0.5474 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.2862, allocations: 48 kB / 0.5475 GB, free: 6.691 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.2863, allocations: 56.34 kB / 0.5475 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.2863, allocations: 33.36 kB / 0.5476 GB, free: 6.605 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.2874, allocations: 1.37 MB / 0.5489 GB, free: 5.215 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2874, allocations: 0 / 0.5489 GB, free: 5.215 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001865/0.2893, allocations: 0.5781 MB / 0.5495 GB, free: 4.637 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.000299/0.2896, allocations: 147 kB / 0.5496 GB, free: 4.484 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.2924, allocations: 3.111 MB / 0.5526 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2925, allocations: 0 / 0.5526 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006894/0.2931, allocations: 0.8018 MB / 0.5534 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.2938, allocations: 171 kB / 0.5536 GB, free: 416 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.2991, allocations: 5.748 MB / 0.5592 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.3005, allocations: 1.593 MB / 0.5608 GB, free: 8.973 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.3008, allocations: 184.5 kB / 0.5609 GB, free: 8.793 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3008, allocations: 0 / 0.5609 GB, free: 8.793 MB / 474.7 MB Notification: Performance of Templates: time 0.03474/0.3355, allocations: 45.72 MB / 0.6056 GB, free: 11.14 MB / 0.5105 GB " [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.710741450078785]