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.007361/0.007361, allocations: 1.431 MB / 17.68 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1073/0.1073, allocations: 22.37 MB / 41.1 MB, free: 7.789 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.001117/0.001117, allocations: 104 kB / 48.6 MB, free: 272 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.001303/0.001303, allocations: 191 kB / 56.19 MB, free: 9.477 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.336/1.336, allocations: 222.9 MB / 286.5 MB, free: 14 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8552/0.8552, allocations: 127.8 MB / 471.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 136.4 kB / 0.5547 GB, free: 16.3 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1468, allocations: 82.35 MB / 0.6351 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002063/0.1489, allocations: 1.016 MB / 0.6361 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.1494, allocations: 205.1 kB / 0.6363 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.1495, allocations: 0 / 0.6363 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.166e-05/0.1495, allocations: 3.938 kB / 0.6363 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.1495, allocations: 0 / 0.6363 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.1499, allocations: 79.78 kB / 0.6364 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.804e-05/0.15, allocations: 3.828 kB / 0.6364 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.15, allocations: 3.984 kB / 0.6364 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.15, allocations: 4 kB / 0.6364 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.558e-05/0.1501, allocations: 4 kB / 0.6364 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1501, allocations: 0 / 0.6364 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1502, allocations: 87.89 kB / 0.6365 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.1503, allocations: 0 / 0.6365 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.1503, allocations: 3.938 kB / 0.6365 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.1504, allocations: 55.84 kB / 0.6366 GB, free: 12.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1504, allocations: 4 kB / 0.6366 GB, free: 12.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1505, allocations: 0 / 0.6366 GB, free: 12.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1505, allocations: 3.938 kB / 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.000322/0.1508, allocations: 331.4 kB / 0.6369 GB, free: 12.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1508, allocations: 12.03 kB / 0.6369 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.1509, allocations: 0.9375 kB / 0.6369 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.151, allocations: 168.3 kB / 0.6371 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.151, allocations: 384 / 0.6371 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.151, allocations: 384 / 0.6371 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.1511, allocations: 34.25 kB / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1511, allocations: 192 / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1511, allocations: 3.938 kB / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.1512, allocations: 4 kB / 0.6371 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.1512, allocations: 11.94 kB / 0.6371 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1514, allocations: 153.7 kB / 0.6373 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.04e-05/0.1514, allocations: 30.58 kB / 0.6373 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.1515, allocations: 12.97 kB / 0.6373 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.1515, allocations: 0 / 0.6373 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1515, allocations: 30.56 kB / 0.6373 GB, free: 11.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1515, allocations: 0 / 0.6373 GB, free: 11.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001311/0.1516, allocations: 65.7 kB / 0.6374 GB, free: 11.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.1517, allocations: 51.41 kB / 0.6374 GB, free: 11.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.1517, allocations: 89.86 kB / 0.6375 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1518, allocations: 29.7 kB / 0.6376 GB, free: 11.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.1518, allocations: 84.14 kB / 0.6376 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1518, allocations: 11.8 kB / 0.6376 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1519, allocations: 17.7 kB / 0.6377 GB, free: 11.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.152, allocations: 315 kB / 0.638 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.152, allocations: 4 kB / 0.638 GB, free: 10.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.152, allocations: 15.97 kB / 0.638 GB, free: 10.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.1521, allocations: 16.86 kB / 0.638 GB, free: 10.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1521, allocations: 0 / 0.638 GB, free: 10.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.348e-05/0.1521, allocations: 49.62 kB / 0.638 GB, free: 10.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1522, allocations: 4 kB / 0.638 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1522, allocations: 7.875 kB / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1522, allocations: 4 kB / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1522, allocations: 0 / 0.6381 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1522, allocations: 4.062 kB / 0.6381 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.1522, allocations: 0 / 0.6381 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1522, allocations: 0 / 0.6381 GB, free: 10.73 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.8e-05/0.1523, allocations: 113.8 kB / 0.6382 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.1523, allocations: 0 / 0.6382 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.076e-05/0.1523, allocations: 7.438 kB / 0.6382 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1524, allocations: 0 / 0.6382 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1524, allocations: 7.938 kB / 0.6382 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1524, allocations: 4 kB / 0.6382 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.241e-05/0.1525, allocations: 153.7 kB / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1525, allocations: 0 / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1525, allocations: 0 / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1525, allocations: 0 / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1525, allocations: 3.938 kB / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1525, allocations: 0 / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1525, allocations: 0 / 0.6383 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.007e-05/0.1526, allocations: 77.06 kB / 0.6384 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.1526, allocations: 85 kB / 0.6385 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1526, allocations: 7.969 kB / 0.6385 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.1527, allocations: 0 / 0.6385 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1527, allocations: 4 kB / 0.6385 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1527, allocations: 0 / 0.6385 GB, free: 10.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.494e-05/0.1527, allocations: 75.28 kB / 0.6386 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1527, allocations: 0 / 0.6386 GB, free: 10.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.1529, allocations: 20 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.0001493/0.1531, allocations: 123.3 kB / 0.6387 GB, free: 9.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.996e-05/0.1532, allocations: 15.98 kB / 0.6387 GB, free: 9.945 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1532, allocations: 3.938 kB / 0.6387 GB, free: 9.941 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.1532, allocations: 8 kB / 0.6387 GB, free: 9.934 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1533, allocations: 2.344 kB / 0.6387 GB, free: 9.934 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.1535, allocations: 93.06 kB / 0.6388 GB, free: 9.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1538, allocations: 0.6806 MB / 0.6395 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.558e-05/0.1538, allocations: 0 / 0.6395 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.1538, allocations: 11.56 kB / 0.6395 GB, free: 9.098 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1538, allocations: 4 kB / 0.6395 GB, free: 9.094 MB / 478.1 MB Notification: Performance of Templates: time 0.002715/0.1565, allocations: 0.6135 MB / 0.6401 GB, free: 8.484 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 cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1)