Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002063/0.002063, allocations: 104.3 kB / 19.69 MB, free: 1.934 MB / 14.72 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.002204/0.002204, allocations: 219.2 kB / 22.99 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 207.7 MB / 233.8 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2425/0.2425, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 80.95 kB / 468 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1418, allocations: 61.03 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01016/0.152, allocations: 6.071 MB / 0.5226 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.158, allocations: 2.276 MB / 0.5248 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.1592, allocations: 31.88 kB / 0.5248 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.1619, allocations: 1.024 MB / 0.5258 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.1646, allocations: 0.8674 MB / 0.5267 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.1655, allocations: 299.3 kB / 0.5269 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.1684, allocations: 1.896 MB / 0.5288 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.1699, allocations: 1.095 MB / 0.5299 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.1712, allocations: 0.7355 MB / 0.5306 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.1728, allocations: 1.027 MB / 0.5316 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.1731, allocations: 128 kB / 0.5317 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1744, allocations: 0.6278 MB / 0.5323 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009865/0.1754, allocations: 0.9658 MB / 0.5333 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009378/0.1763, allocations: 0.8068 MB / 0.534 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004838/0.1812, allocations: 3.761 MB / 0.5377 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1812, allocations: 0 / 0.5377 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1812, allocations: 0 / 0.5377 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.12e-05/0.1813, allocations: 4 kB / 0.5377 GB, free: 0.9688 MB / 414.1 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.2654/0.4467, allocations: 2.649 MB / 0.5403 GB, free: 27.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.4468, allocations: 9.797 kB / 0.5403 GB, free: 27.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006213/0.453, allocations: 1.583 MB / 0.5419 GB, free: 27.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.4564, allocations: 1.038 MB / 0.5429 GB, free: 27.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.4565, allocations: 116.5 kB / 0.543 GB, free: 27.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.4569, allocations: 151.5 kB / 0.5431 GB, free: 27.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.4687, allocations: 6.195 MB / 0.5492 GB, free: 24.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.378e-05/0.4687, allocations: 26.77 kB / 0.5492 GB, free: 24.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.469, allocations: 78.62 kB / 0.5493 GB, free: 24.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002881/0.4719, allocations: 1.444 MB / 0.5507 GB, free: 24.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.4837, allocations: 5.377 MB / 0.5559 GB, free: 22.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02873/0.5124, allocations: 23.35 MB / 0.5788 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/0.5167, allocations: 1.795 MB / 0.5805 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.5178, allocations: 0.8835 MB / 0.5814 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.5181, allocations: 84.97 kB / 0.5814 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.5181, allocations: 47.38 kB / 0.5815 GB, free: 2.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.087e-06/0.5181, allocations: 2 kB / 0.5815 GB, free: 2.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.0228/0.5409, allocations: 8.377 MB / 0.5897 GB, free: 11.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.541, allocations: 140.5 kB / 0.5898 GB, free: 11.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/0.5454, allocations: 2.466 MB / 0.5922 GB, free: 9.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.5456, allocations: 45.7 kB / 0.5923 GB, free: 9.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/0.5475, allocations: 2.135 MB / 0.5943 GB, free: 6.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007286/0.5482, allocations: 460.6 kB / 0.5948 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.5496, allocations: 0.8695 MB / 0.5956 GB, free: 5.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.5499, allocations: 341.9 kB / 0.596 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.5523, allocations: 1.332 MB / 0.5973 GB, free: 3.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/0.5586, allocations: 4.108 MB / 0.6013 GB, free: 14.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009868/0.5685, allocations: 5.938 MB / 0.6071 GB, free: 7.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/0.5686, allocations: 28 kB / 0.6071 GB, free: 7.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01126/0.5799, allocations: 5.465 MB / 0.6124 GB, free: 1.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.58, allocations: 44 kB / 0.6125 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.5801, allocations: 103.9 kB / 0.6126 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.5813, allocations: 468 kB / 0.613 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.5844, allocations: 0.9747 MB / 0.614 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.5897, allocations: 3.518 MB / 0.6174 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.5928, allocations: 231.6 kB / 0.6176 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004807/0.5933, allocations: 268 kB / 0.6179 GB, free: 11.9 MB / 462.1 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.002513/0.5958, allocations: 1.376 MB / 0.6192 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.5963, allocations: 202.6 kB / 0.6194 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.5991, allocations: 1.292 MB / 0.6207 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.5991, allocations: 16.92 kB / 0.6207 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.5991, allocations: 4 kB / 0.6207 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5991, allocations: 4.453 kB / 0.6207 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008138/0.6073, allocations: 3.598 MB / 0.6242 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.6073, allocations: 7.188 kB / 0.6242 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.6079, allocations: 139.8 kB / 0.6244 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009091/0.6088, allocations: 308.6 kB / 0.6247 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.6089, allocations: 31.92 kB / 0.6247 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.6129, allocations: 2.909 MB / 0.6275 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.6129, allocations: 8.094 kB / 0.6275 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.6183, allocations: 3.047 MB / 0.6305 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.6194, allocations: 314.5 kB / 0.6308 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.6196, allocations: 20.06 kB / 0.6308 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.6203, allocations: 49.25 kB / 0.6309 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.6205, allocations: 56.27 kB / 0.6309 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.6205, allocations: 35.94 kB / 0.631 GB, free: 14.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002704/0.6232, allocations: 1.378 MB / 0.6323 GB, free: 12.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6232, allocations: 4 kB / 0.6323 GB, free: 12.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003555/0.6268, allocations: 0.5936 MB / 0.6329 GB, free: 12.3 MB / 478.1 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.0003638/0.6272, allocations: 139 kB / 0.633 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005582/0.6327, allocations: 3.103 MB / 0.6361 GB, free: 9.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6328, allocations: 0 / 0.6361 GB, free: 9.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.634, allocations: 0.8099 MB / 0.6368 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6352, allocations: 172.7 kB / 0.637 GB, free: 8.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.6458, allocations: 5.534 MB / 0.6424 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.6481, allocations: 1.603 MB / 0.644 GB, free: 0.875 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003165/0.6513, allocations: 1.358 MB / 0.6453 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.6517, allocations: 143.4 kB / 0.6454 GB, free: 15.37 MB / 494.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6517, allocations: 0 / 0.6454 GB, free: 15.37 MB / 494.1 MB Notification: Performance of Templates: time 0.04192/0.6936, allocations: 18.86 MB / 0.6639 GB, free: 12.57 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.540787614881992]