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.00166/0.00166, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.00289/0.00289, allocations: 208.1 kB / 23.74 MB, free: 4.551 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.73/1.73, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2378/0.2378, allocations: 44.27 MB / 331.1 MB, free: 9.297 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.002712/0.002712, allocations: 63.91 kB / 468.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1463, allocations: 61.05 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00865/0.155, allocations: 6.067 MB / 0.5233 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.1603, allocations: 2.276 MB / 0.5255 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.1612, allocations: 35.88 kB / 0.5256 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.1636, allocations: 1.016 MB / 0.5265 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.166, allocations: 0.8752 MB / 0.5274 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.1668, allocations: 299.3 kB / 0.5277 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002706/0.1696, allocations: 1.896 MB / 0.5295 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.171, allocations: 1.092 MB / 0.5306 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.1722, allocations: 0.7316 MB / 0.5313 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.1737, allocations: 1.027 MB / 0.5323 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.174, allocations: 128 kB / 0.5324 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.1753, allocations: 0.6278 MB / 0.5331 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009817/0.1763, allocations: 0.9735 MB / 0.534 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008838/0.1772, allocations: 0.8068 MB / 0.5348 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004482/0.1816, allocations: 3.761 MB / 0.5385 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1816, allocations: 0 / 0.5385 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1816, allocations: 0 / 0.5385 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.984e-05/0.1817, allocations: 0 / 0.5385 GB, free: 0.9609 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.2684/0.4501, allocations: 2.65 MB / 0.5411 GB, free: 27.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4501, allocations: 11.09 kB / 0.5411 GB, free: 27.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005735/0.4559, allocations: 1.581 MB / 0.5426 GB, free: 27.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.4591, allocations: 1.04 MB / 0.5436 GB, free: 27.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.4592, allocations: 117.6 kB / 0.5437 GB, free: 27.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004863/0.4597, allocations: 155.4 kB / 0.5439 GB, free: 27.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.4699, allocations: 6.184 MB / 0.5499 GB, free: 24.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.617e-05/0.4699, allocations: 31.3 kB / 0.55 GB, free: 24.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.4702, allocations: 85.67 kB / 0.55 GB, free: 24.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002698/0.4729, allocations: 1.439 MB / 0.5514 GB, free: 24.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.4833, allocations: 5.374 MB / 0.5567 GB, free: 22.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/0.5093, allocations: 23.34 MB / 0.5795 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.5134, allocations: 1.801 MB / 0.5812 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.5146, allocations: 0.8869 MB / 0.5821 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.5148, allocations: 83.84 kB / 0.5822 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.5148, allocations: 44.91 kB / 0.5822 GB, free: 2.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.566e-06/0.5148, allocations: 2.875 kB / 0.5822 GB, free: 2.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02123/0.5361, allocations: 8.376 MB / 0.5904 GB, free: 11.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5362, allocations: 144.4 kB / 0.5906 GB, free: 11.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.5395, allocations: 2.458 MB / 0.593 GB, free: 9.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.5397, allocations: 41.45 kB / 0.593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.5413, allocations: 2.143 MB / 0.5951 GB, free: 6.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/0.5418, allocations: 456.6 kB / 0.5955 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.5429, allocations: 0.8734 MB / 0.5964 GB, free: 5.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5431, allocations: 341.9 kB / 0.5967 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.545, allocations: 1.336 MB / 0.598 GB, free: 3.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004364/0.5494, allocations: 4.104 MB / 0.602 GB, free: 14.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/0.5566, allocations: 5.939 MB / 0.6078 GB, free: 7.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.612e-05/0.5567, allocations: 28 kB / 0.6078 GB, free: 7.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00961/0.5663, allocations: 5.465 MB / 0.6132 GB, free: 1.594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.5664, allocations: 48 kB / 0.6132 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.5665, allocations: 106.8 kB / 0.6133 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.5676, allocations: 457.1 kB / 0.6138 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.5703, allocations: 0.9747 MB / 0.6147 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.5747, allocations: 3.516 MB / 0.6181 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.5775, allocations: 239.6 kB / 0.6184 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005046/0.578, allocations: 268 kB / 0.6186 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.002249/0.5803, allocations: 1.362 MB / 0.62 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.5807, allocations: 204.3 kB / 0.6202 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.5831, allocations: 1.299 MB / 0.6214 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.5831, allocations: 12 kB / 0.6214 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5831, allocations: 4 kB / 0.6214 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.5831, allocations: 7.922 kB / 0.6214 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007216/0.5903, allocations: 3.602 MB / 0.625 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.5903, allocations: 11.12 kB / 0.625 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.591, allocations: 131.9 kB / 0.6251 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008728/0.5919, allocations: 321.7 kB / 0.6254 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.5919, allocations: 12 kB / 0.6254 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.5954, allocations: 2.928 MB / 0.6283 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5954, allocations: 0 / 0.6283 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004347/0.5998, allocations: 3.055 MB / 0.6313 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.6008, allocations: 310.5 kB / 0.6316 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.601, allocations: 16 kB / 0.6316 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/0.6017, allocations: 43.94 kB / 0.6316 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6018, allocations: 60.27 kB / 0.6317 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/0.6019, allocations: 31.98 kB / 0.6317 GB, free: 14.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.6039, allocations: 1.378 MB / 0.633 GB, free: 12.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6039, allocations: 0 / 0.633 GB, free: 12.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003222/0.6072, allocations: 0.6015 MB / 0.6336 GB, free: 12.31 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.0003267/0.6075, allocations: 131 kB / 0.6338 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005287/0.6128, allocations: 3.107 MB / 0.6368 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.6128, allocations: 0 / 0.6368 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.614, allocations: 0.81 MB / 0.6376 GB, free: 8.258 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6152, allocations: 178.6 kB / 0.6378 GB, free: 8.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6254, allocations: 5.824 MB / 0.6434 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.6275, allocations: 1.596 MB / 0.645 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/0.6281, allocations: 183.3 kB / 0.6452 GB, free: 420 kB / 478.1 MB Notification: Performance of SimCode: time 1.362e-06/0.6281, allocations: 4 kB / 0.6452 GB, free: 416 kB / 478.1 MB Notification: Performance of Templates: time 0.07166/0.6998, allocations: 45.9 MB / 0.69 GB, free: 2.512 MB / 0.5137 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/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: 11.567972743883729]