Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.7873/0.7873, allocations: 123 MB / 138.2 MB, free: 10.42 MB / 122.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 189.1 kB / 164.5 MB, free: 12.33 MB / 138.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.7 MB / 416.4 MB, free: 15.04 MB / 330.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 88.84 kB / 493 MB, free: 18.28 MB / 362.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo): time 0.08763/0.08763, allocations: 20.49 MB / 0.5762 GB, free: 6.059 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004635, allocations: 14.92 kB / 0.6679 GB, free: 118.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1491, allocations: 81.84 MB / 0.7478 GB, free: 38.9 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.0008918/0.15, allocations: 0.7312 MB / 0.7485 GB, free: 38.17 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004902/0.1505, allocations: 458.7 kB / 0.749 GB, free: 37.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.1505, allocations: 0 / 0.749 GB, free: 37.66 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 6.932e-05/0.1506, allocations: 0 / 0.749 GB, free: 37.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 8.216e-06/0.1506, allocations: 0 / 0.749 GB, free: 37.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.151, allocations: 55.83 kB / 0.749 GB, free: 37.61 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.151, allocations: 7.984 kB / 0.749 GB, free: 37.6 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.1511, allocations: 4 kB / 0.749 GB, free: 37.6 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.1511, allocations: 7.922 kB / 0.749 GB, free: 37.59 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.685e-05/0.1511, allocations: 4 kB / 0.749 GB, free: 37.59 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1511, allocations: 0 / 0.749 GB, free: 37.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1512, allocations: 71.91 kB / 0.7491 GB, free: 37.52 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.1513, allocations: 4 kB / 0.7491 GB, free: 37.51 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.1513, allocations: 33.58 kB / 0.7491 GB, free: 37.47 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.1514, allocations: 51.91 kB / 0.7492 GB, free: 37.42 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1514, allocations: 0 / 0.7492 GB, free: 37.42 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1514, allocations: 0 / 0.7492 GB, free: 37.42 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1514, allocations: 4 kB / 0.7492 GB, free: 37.42 MB / 490.8 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.0002276/0.1517, allocations: 322.5 kB / 0.7495 GB, free: 37.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1517, allocations: 12.03 kB / 0.7495 GB, free: 37.04 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.1518, allocations: 8.844 kB / 0.7495 GB, free: 37.04 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1519, allocations: 164.3 kB / 0.7497 GB, free: 36.84 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1519, allocations: 384 / 0.7497 GB, free: 36.84 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.1519, allocations: 384 / 0.7497 GB, free: 36.84 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.652e-05/0.152, allocations: 46.23 kB / 0.7497 GB, free: 36.79 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.152, allocations: 192 / 0.7497 GB, free: 36.79 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.152, allocations: 3.938 kB / 0.7497 GB, free: 36.78 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.152, allocations: 0 / 0.7497 GB, free: 36.78 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.1521, allocations: 11.94 kB / 0.7497 GB, free: 36.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.1522, allocations: 157.9 kB / 0.7499 GB, free: 36.57 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.1523, allocations: 30.58 kB / 0.7499 GB, free: 36.53 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.1523, allocations: 12.92 kB / 0.7499 GB, free: 36.51 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.1523, allocations: 0 / 0.7499 GB, free: 36.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.1523, allocations: 34.56 kB / 0.75 GB, free: 36.47 MB / 490.8 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1523, allocations: 0 / 0.75 GB, free: 36.47 MB / 490.8 MB Notification: Performance of matching and sorting (n=3): time 0.000116/0.1524, allocations: 65.55 kB / 0.75 GB, free: 36.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.1525, allocations: 51.41 kB / 0.7501 GB, free: 36.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.096e-05/0.1525, allocations: 93.86 kB / 0.7502 GB, free: 36.23 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.1525, allocations: 29.64 kB / 0.7502 GB, free: 36.2 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/0.1525, allocations: 80.14 kB / 0.7503 GB, free: 36.12 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1526, allocations: 7.906 kB / 0.7503 GB, free: 36.11 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.1526, allocations: 0 / 0.7503 GB, free: 36.11 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.1526, allocations: 319 kB / 0.7506 GB, free: 35.79 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.1526, allocations: 8 kB / 0.7506 GB, free: 35.78 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-06/0.1527, allocations: 4 kB / 0.7506 GB, free: 35.78 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.1527, allocations: 20.84 kB / 0.7506 GB, free: 35.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1527, allocations: 0 / 0.7506 GB, free: 35.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.883e-05/0.1527, allocations: 53.53 kB / 0.7507 GB, free: 35.7 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1528, allocations: 4 kB / 0.7507 GB, free: 35.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1528, allocations: 3.938 kB / 0.7507 GB, free: 35.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1528, allocations: 0 / 0.7507 GB, free: 35.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1528, allocations: 0 / 0.7507 GB, free: 35.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1528, allocations: 64 / 0.7507 GB, free: 35.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.1528, allocations: 4 kB / 0.7507 GB, free: 35.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1528, allocations: 4 kB / 0.7507 GB, free: 35.68 MB / 490.8 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 4.493e-05/0.1529, allocations: 105.8 kB / 0.7508 GB, free: 35.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.1529, allocations: 0 / 0.7508 GB, free: 35.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.028e-05/0.1529, allocations: 15.36 kB / 0.7508 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.1529, allocations: 4 kB / 0.7508 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1529, allocations: 0 / 0.7508 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.1529, allocations: 0 / 0.7508 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.036e-05/0.153, allocations: 153.7 kB / 0.7509 GB, free: 35.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.153, allocations: 4 kB / 0.7509 GB, free: 35.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.153, allocations: 0 / 0.7509 GB, free: 35.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.153, allocations: 4 kB / 0.751 GB, free: 35.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.153, allocations: 3.938 kB / 0.751 GB, free: 35.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.153, allocations: 0 / 0.751 GB, free: 35.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.153, allocations: 192 / 0.751 GB, free: 35.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.917e-05/0.1531, allocations: 73.05 kB / 0.751 GB, free: 35.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.1531, allocations: 81.11 kB / 0.7511 GB, free: 35.15 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1532, allocations: 7.969 kB / 0.7511 GB, free: 35.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.1532, allocations: 0 / 0.7511 GB, free: 35.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.1532, allocations: 0 / 0.7511 GB, free: 35.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1532, allocations: 0 / 0.7511 GB, free: 35.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.1532, allocations: 83.27 kB / 0.7512 GB, free: 35.06 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1532, allocations: 0 / 0.7512 GB, free: 35.06 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002107/0.1534, allocations: 20 kB / 0.7512 GB, free: 35.04 MB / 490.8 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.0001459/0.1536, allocations: 111.2 kB / 0.7513 GB, free: 34.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.1537, allocations: 20.03 kB / 0.7513 GB, free: 34.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1537, allocations: 3.938 kB / 0.7513 GB, free: 34.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.1537, allocations: 8 kB / 0.7513 GB, free: 34.89 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.1538, allocations: 0 / 0.7513 GB, free: 34.89 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001702/0.154, allocations: 106.6 kB / 0.7514 GB, free: 34.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.967e-05/0.1541, allocations: 0.677 MB / 0.7521 GB, free: 34.05 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 1.748e-05/0.1541, allocations: 4.125 kB / 0.7521 GB, free: 34.05 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.1542, allocations: 15.44 kB / 0.7521 GB, free: 34.04 MB / 490.8 MB Notification: Performance of SimCode: time 2.91e-07/0.1542, allocations: 0 / 0.7521 GB, free: 34.04 MB / 490.8 MB Notification: Performance of Templates: time 0.002231/0.1564, allocations: 0.5932 MB / 0.7527 GB, free: 33.45 MB / 490.8 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 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1)