Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.007269/0.007269, allocations: 1.427 MB / 17.68 MB, free: 4.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1081/0.1081, allocations: 22.38 MB / 41.11 MB, free: 7.527 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001106, allocations: 116 kB / 48.6 MB, free: 8 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 192.3 kB / 56.2 MB, free: 9.422 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 286.5 MB, free: 13.96 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.89/0.89, allocations: 127.8 MB / 471.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 119.8 kB / 0.5547 GB, free: 16.32 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1591, allocations: 82.36 MB / 0.6351 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002074/0.1613, allocations: 1.012 MB / 0.6361 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.1618, allocations: 209.1 kB / 0.6363 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.1618, allocations: 0 / 0.6363 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.158e-05/0.1619, allocations: 4 kB / 0.6363 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.556e-06/0.162, allocations: 0 / 0.6363 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1624, allocations: 83.61 kB / 0.6364 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.1624, allocations: 4 kB / 0.6364 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1625, allocations: 0 / 0.6364 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.1625, allocations: 0 / 0.6364 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.012e-05/0.1625, allocations: 7.984 kB / 0.6364 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.1626, allocations: 0 / 0.6364 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1627, allocations: 83.84 kB / 0.6365 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.1628, allocations: 3.984 kB / 0.6365 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.1628, allocations: 11.94 kB / 0.6365 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1629, allocations: 51.91 kB / 0.6366 GB, free: 12.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.1629, allocations: 0 / 0.6366 GB, free: 12.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1629, allocations: 3.938 kB / 0.6366 GB, free: 12.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1629, allocations: 0 / 0.6366 GB, free: 12.49 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003619/0.1633, allocations: 327.5 kB / 0.6369 GB, free: 12.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1634, allocations: 12.03 kB / 0.6369 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1634, allocations: 0.9375 kB / 0.6369 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1635, allocations: 164.3 kB / 0.6371 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1636, allocations: 4.375 kB / 0.6371 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1636, allocations: 384 / 0.6371 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1637, allocations: 42.19 kB / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1637, allocations: 192 / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1637, allocations: 3.938 kB / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1637, allocations: 0 / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.1638, allocations: 4 kB / 0.6371 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1639, allocations: 157.7 kB / 0.6373 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.164, allocations: 34.52 kB / 0.6373 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.164, allocations: 16.92 kB / 0.6373 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.164, allocations: 0 / 0.6373 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1641, allocations: 34.5 kB / 0.6373 GB, free: 11.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1641, allocations: 0 / 0.6373 GB, free: 11.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001373/0.1642, allocations: 53.62 kB / 0.6374 GB, free: 11.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.1643, allocations: 51.41 kB / 0.6374 GB, free: 11.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.1643, allocations: 97.89 kB / 0.6375 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1643, allocations: 25.7 kB / 0.6376 GB, free: 11.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.1644, allocations: 80.14 kB / 0.6376 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1644, allocations: 19.8 kB / 0.6377 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.1645, allocations: 13.7 kB / 0.6377 GB, free: 11.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.1646, allocations: 310.8 kB / 0.638 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.1646, allocations: 4 kB / 0.638 GB, free: 10.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.1646, allocations: 8 kB / 0.638 GB, free: 10.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.1646, allocations: 25.12 kB / 0.638 GB, free: 10.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1646, allocations: 4 kB / 0.638 GB, free: 10.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.414e-05/0.1647, allocations: 53.61 kB / 0.6381 GB, free: 10.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1647, allocations: 4 kB / 0.6381 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1647, allocations: 3.938 kB / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1648, allocations: 0 / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.1648, allocations: 0 / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1648, allocations: 0 / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.1648, allocations: 0 / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1648, allocations: 4 kB / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.1649, allocations: 113.9 kB / 0.6382 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.1649, allocations: 4 kB / 0.6382 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.156e-05/0.1649, allocations: 7.438 kB / 0.6382 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1649, allocations: 4 kB / 0.6382 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1649, allocations: 0 / 0.6382 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1649, allocations: 3.938 kB / 0.6382 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.165, allocations: 149.7 kB / 0.6383 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.165, allocations: 0 / 0.6383 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.165, allocations: 0 / 0.6383 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1651, allocations: 4 kB / 0.6383 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1651, allocations: 7.938 kB / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1651, allocations: 4 kB / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1651, allocations: 3.984 kB / 0.6384 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.29e-05/0.1652, allocations: 69.12 kB / 0.6384 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.1652, allocations: 85.02 kB / 0.6385 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1652, allocations: 3.938 kB / 0.6385 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.1652, allocations: 3.984 kB / 0.6385 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.1653, allocations: 3.938 kB / 0.6385 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1653, allocations: 4.031 kB / 0.6385 GB, free: 10.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.1653, allocations: 79.28 kB / 0.6386 GB, free: 10.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1653, allocations: 0 / 0.6386 GB, free: 10.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1655, allocations: 16 kB / 0.6386 GB, free: 10.09 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.1657, allocations: 123.2 kB / 0.6387 GB, free: 9.957 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.1658, allocations: 12 kB / 0.6387 GB, free: 9.945 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1658, allocations: 0 / 0.6387 GB, free: 9.945 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.1658, allocations: 16.14 kB / 0.6387 GB, free: 9.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1659, allocations: 0 / 0.6387 GB, free: 9.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.1661, allocations: 100.7 kB / 0.6388 GB, free: 9.809 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1664, allocations: 0.6729 MB / 0.6395 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.1664, allocations: 4 kB / 0.6395 GB, free: 9.105 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.1664, allocations: 11.42 kB / 0.6395 GB, free: 9.094 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1664, allocations: 0 / 0.6395 GB, free: 9.094 MB / 478.1 MB Notification: Performance of Templates: time 0.00273/0.1692, allocations: 0.6202 MB / 0.6401 GB, free: 8.477 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1)