Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.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.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8191/0.8191, 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.001099/0.001099, allocations: 193.5 kB / 164.5 MB, free: 12.32 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.408/1.408, 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.00079/0.0007901, allocations: 88.7 kB / 493 MB, free: 18.24 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.08957/0.08957, allocations: 20.48 MB / 0.5762 GB, free: 6.059 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006434/0.0006435, allocations: 14.38 kB / 0.6679 GB, free: 118.7 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1604, allocations: 81.84 MB / 0.7478 GB, free: 38.9 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.002895/0.1633, allocations: 2.967 MB / 0.7507 GB, free: 35.91 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.1683, allocations: 4.983 MB / 0.7556 GB, free: 30.88 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1686, allocations: 4 kB / 0.7556 GB, free: 30.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.1695, allocations: 271.1 kB / 0.7558 GB, free: 30.61 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1698, allocations: 191 kB / 0.756 GB, free: 30.43 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.1706, allocations: 387 kB / 0.7564 GB, free: 30.05 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000688/0.1713, allocations: 0.7175 MB / 0.7571 GB, free: 29.33 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1714, allocations: 37.08 kB / 0.7571 GB, free: 29.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1717, allocations: 191.1 kB / 0.7573 GB, free: 29.1 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.1719, allocations: 203 kB / 0.7575 GB, free: 28.9 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.172, allocations: 12 kB / 0.7575 GB, free: 28.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.1725, allocations: 267.5 kB / 0.7578 GB, free: 28.62 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.1726, allocations: 71.64 kB / 0.7578 GB, free: 28.55 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.1728, allocations: 184.8 kB / 0.758 GB, free: 28.37 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006548/0.1734, allocations: 0.5957 MB / 0.7586 GB, free: 27.77 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1735, allocations: 0 / 0.7586 GB, free: 27.77 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1735, allocations: 0 / 0.7586 GB, free: 27.77 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1735, allocations: 0 / 0.7586 GB, free: 27.77 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0005294/0.174, allocations: 0.6063 MB / 0.7592 GB, free: 27.11 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1741, allocations: 8.031 kB / 0.7592 GB, free: 27.11 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.1743, allocations: 52.44 kB / 0.7592 GB, free: 27.05 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1746, allocations: 304.4 kB / 0.7595 GB, free: 26.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1746, allocations: 20.36 kB / 0.7595 GB, free: 26.7 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1746, allocations: 12.38 kB / 0.7596 GB, free: 26.69 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.175, allocations: 422.6 kB / 0.76 GB, free: 26.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.175, allocations: 4.188 kB / 0.76 GB, free: 26.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.175, allocations: 11.94 kB / 0.76 GB, free: 26.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1751, allocations: 8 kB / 0.76 GB, free: 26.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1753, allocations: 195.9 kB / 0.7602 GB, free: 25.96 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1765, allocations: 3.056 MB / 0.7631 GB, free: 22.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1767, allocations: 154.4 kB / 0.7633 GB, free: 22.56 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.1768, allocations: 115.4 kB / 0.7634 GB, free: 22.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.1769, allocations: 11.94 kB / 0.7634 GB, free: 22.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.1769, allocations: 30.56 kB / 0.7634 GB, free: 22.38 MB / 490.8 MB Notification: Performance of pre-optimization done (n=56): time 1.473e-06/0.1769, allocations: 4 kB / 0.7635 GB, free: 22.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=56): time 0.0004521/0.1773, allocations: 316.6 kB / 0.7638 GB, free: 22.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1774, allocations: 132.5 kB / 0.7639 GB, free: 21.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1777, allocations: 332.3 kB / 0.7642 GB, free: 21.57 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1777, allocations: 25.7 kB / 0.7642 GB, free: 21.54 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.1778, allocations: 219.7 kB / 0.7644 GB, free: 21.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.1778, allocations: 181.3 kB / 0.7646 GB, free: 21.14 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1779, allocations: 12 kB / 0.7646 GB, free: 21.13 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.1779, allocations: 350.9 kB / 0.7649 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1781, allocations: 80.97 kB / 0.765 GB, free: 20.7 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.1783, allocations: 354 kB / 0.7654 GB, free: 20.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.1786, allocations: 0.5154 MB / 0.7659 GB, free: 19.58 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1787, allocations: 7.938 kB / 0.7659 GB, free: 19.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005523/0.1792, allocations: 472.6 kB / 0.7663 GB, free: 19.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1792, allocations: 12 kB / 0.7663 GB, free: 19.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.1793, allocations: 23.98 kB / 0.7664 GB, free: 19.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1793, allocations: 12.75 kB / 0.7664 GB, free: 19.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1795, allocations: 75.84 kB / 0.7664 GB, free: 18.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1795, allocations: 23.92 kB / 0.7665 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1797, allocations: 59.22 kB / 0.7665 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.1798, allocations: 32 kB / 0.7666 GB, free: 18.87 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0001272/0.1799, allocations: 169.6 kB / 0.7667 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.18, allocations: 39.44 kB / 0.7668 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.1806, allocations: 0.7639 MB / 0.7675 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.1806, allocations: 192.2 kB / 0.7677 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/0.1807, allocations: 176.3 kB / 0.7679 GB, free: 17.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/0.1807, allocations: 184.2 kB / 0.768 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1809, allocations: 0.5435 MB / 0.7686 GB, free: 16.54 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.181, allocations: 101 kB / 0.7687 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.181, allocations: 109.1 kB / 0.7688 GB, free: 16.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/0.181, allocations: 176.3 kB / 0.7689 GB, free: 16.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.181, allocations: 192.2 kB / 0.7691 GB, free: 15.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.622e-05/0.1811, allocations: 180.2 kB / 0.7693 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-05/0.1811, allocations: 176.3 kB / 0.7694 GB, free: 15.58 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/0.1812, allocations: 347.2 kB / 0.7698 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1813, allocations: 277.3 kB / 0.77 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.1814, allocations: 180.2 kB / 0.7702 GB, free: 14.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1816, allocations: 101 kB / 0.7703 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1816, allocations: 184.2 kB / 0.7705 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.1816, allocations: 113 kB / 0.7706 GB, free: 14.33 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0003256/0.182, allocations: 362.8 kB / 0.7709 GB, free: 13.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.182, allocations: 3.938 kB / 0.7709 GB, free: 13.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005497/0.1825, allocations: 135.9 kB / 0.7711 GB, free: 13.84 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 (0): * Single equations (assignments): 0 * 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.0007549/0.1833, allocations: 476.4 kB / 0.7715 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.1837, allocations: 455.5 kB / 0.772 GB, free: 12.99 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1837, allocations: 0 / 0.772 GB, free: 12.99 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.1837, allocations: 4 kB / 0.772 GB, free: 12.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.1843, allocations: 0.6064 MB / 0.7726 GB, free: 12.38 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.185, allocations: 0.7379 MB / 0.7733 GB, free: 11.61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.1851, allocations: 0.7758 MB / 0.774 GB, free: 10.81 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.1853, allocations: 70.62 kB / 0.7741 GB, free: 10.74 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.1854, allocations: 31.42 kB / 0.7741 GB, free: 10.71 MB / 490.8 MB Notification: Performance of SimCode: time 2.3e-07/0.1854, allocations: 3.938 kB / 0.7741 GB, free: 10.71 MB / 490.8 MB Notification: Performance of Templates: time 0.007504/0.1929, allocations: 4.836 MB / 0.7789 GB, free: 5.949 MB / 490.8 MB make -j1 -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.makefile (rm -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.sim & ./ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)