Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/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) 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 Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1247/0.1247, allocations: 15.28 MB / 30.53 MB, free: 3.078 MB / 24.77 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.001177/0.001177, allocations: 190.3 kB / 35.63 MB, free: 2.23 MB / 24.77 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.597/1.597, allocations: 225.7 MB / 266.3 MB, free: 6.207 MB / 202.7 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.0008789/0.000879, allocations: 99.73 kB / 321.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005628/0.0005628, allocations: 8.125 kB / 387 MB, free: 50.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1232, allocations: 54.65 MB / 441.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.003774/0.127, allocations: 2.952 MB / 444.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008183/0.1352, allocations: 7.876 MB / 452.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005095/0.1358, allocations: 11.88 kB / 452.5 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.1364, allocations: 135.1 kB / 452.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009828/0.1374, allocations: 238.6 kB / 452.9 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.1402, allocations: 0.8194 MB / 453.7 MB, free: 2.277 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008023/0.141, allocations: 498.5 kB / 454.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.1412, allocations: 132.6 kB / 454.3 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1415, allocations: 207.3 kB / 454.5 MB, free: 1.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.1418, allocations: 231.2 kB / 454.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.1419, allocations: 12 kB / 454.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1434, allocations: 0.5302 MB / 455.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1436, allocations: 75.67 kB / 455.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.1438, allocations: 208.7 kB / 455.6 MB, free: 412 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.1452, allocations: 0.9301 MB / 456.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1452, allocations: 0 / 456.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1452, allocations: 0 / 456.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1452, allocations: 0 / 456.5 MB, free: 15.47 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009777/0.1462, allocations: 0.6738 MB / 457.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1462, allocations: 9.719 kB / 457.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004785/0.1467, allocations: 112.4 kB / 457.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.1472, allocations: 343.9 kB / 457.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1472, allocations: 20.75 kB / 457.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.1473, allocations: 20.12 kB / 457.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.1478, allocations: 381.9 kB / 458 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1478, allocations: 3.938 kB / 458 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.1479, allocations: 12 kB / 458 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1479, allocations: 8 kB / 458.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.1487, allocations: 0.5398 MB / 458.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1505, allocations: 1.383 MB / 460 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.1508, allocations: 166.5 kB / 460.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.151, allocations: 96.77 kB / 460.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002108/0.1531, allocations: 1.86 MB / 462.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1531, allocations: 38.5 kB / 462.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.1531, allocations: 0 / 462.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004504/0.1536, allocations: 221.5 kB / 462.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1537, allocations: 63.33 kB / 462.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.154, allocations: 369.5 kB / 462.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1541, allocations: 29.7 kB / 462.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1542, allocations: 223.5 kB / 463 MB, free: 8.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.1543, allocations: 55.28 kB / 463.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.1543, allocations: 4 kB / 463.1 MB, free: 8.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1545, allocations: 338.8 kB / 463.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1546, allocations: 67.81 kB / 463.5 MB, free: 7.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.1548, allocations: 245.4 kB / 463.7 MB, free: 7.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.1552, allocations: 340.5 kB / 464 MB, free: 7.219 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1552, allocations: 4 kB / 464 MB, free: 7.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004991/0.1557, allocations: 348.9 kB / 464.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1558, allocations: 8 kB / 464.4 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1558, allocations: 4 kB / 464.4 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1558, allocations: 8 kB / 464.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.156, allocations: 79.84 kB / 464.5 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.1561, allocations: 15.92 kB / 464.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.1562, allocations: 40.06 kB / 464.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.1563, allocations: 32 kB / 464.6 MB, free: 6.684 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * 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 0.0001403/0.1564, allocations: 153.7 kB / 464.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.1565, allocations: 39.47 kB / 464.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.1571, allocations: 279.6 kB / 465 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1571, allocations: 4 kB / 465 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1571, allocations: 4 kB / 465 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1571, allocations: 3.938 kB / 465 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.1578, allocations: 0.6274 MB / 465.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1578, allocations: 192 / 465.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.1578, allocations: 19.94 kB / 465.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1578, allocations: 0 / 465.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1579, allocations: 4 kB / 465.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1579, allocations: 0 / 465.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1579, allocations: 0 / 465.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1581, allocations: 184.8 kB / 465.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.1582, allocations: 136.5 kB / 466 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.1583, allocations: 0 / 466 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.1584, allocations: 4 kB / 466 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1584, allocations: 11.98 kB / 466 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1584, allocations: 0 / 466 MB, free: 5.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003311/0.1588, allocations: 311.1 kB / 466.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1588, allocations: 3.938 kB / 466.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.1593, allocations: 167.8 kB / 466.5 MB, free: 4.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * 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.0005444/0.1599, allocations: 306.7 kB / 466.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.1602, allocations: 161.2 kB / 467 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1602, allocations: 4.125 kB / 467 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.1602, allocations: 27.92 kB / 467 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.1608, allocations: 91.14 kB / 467.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.1617, allocations: 0.6562 MB / 467.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1621, allocations: 0.7758 MB / 468.5 MB, free: 2.504 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000337/0.1624, allocations: 103.3 kB / 468.6 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.1625, allocations: 43.42 kB / 468.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of SimCode: time 2e-07/0.1625, allocations: 0 / 468.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of Templates: time 0.01057/0.1731, allocations: 5.989 MB / 474.6 MB, free: 12.41 MB / 346.7 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1)