Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.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.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") translateModel(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8352/0.8352, allocations: 123 MB / 138.2 MB, free: 10.39 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.0009967/0.0009967, allocations: 180.1 kB / 164.5 MB, free: 12.34 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.394/1.394, allocations: 225.7 MB / 416.4 MB, free: 15.06 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.0007938/0.0007937, allocations: 92.89 kB / 493 MB, free: 18.43 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.08724/0.08724, allocations: 20.49 MB / 0.5762 GB, free: 6.055 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004293, allocations: 15.91 kB / 0.6679 GB, free: 119 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 81.84 MB / 0.7478 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001174/0.1529, allocations: 0.982 MB / 0.7488 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008091/0.1537, allocations: 0.728 MB / 0.7495 GB, free: 37.16 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.1537, allocations: 0 / 0.7495 GB, free: 37.16 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.1565, allocations: 58.27 kB / 0.7495 GB, free: 37.11 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 1.664e-05/0.1565, allocations: 11.92 kB / 0.7496 GB, free: 37.1 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.445e-06/0.1565, allocations: 0 / 0.7496 GB, free: 37.1 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 4.667e-05/0.1566, allocations: 12 kB / 0.7496 GB, free: 37.09 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.1566, allocations: 0 / 0.7496 GB, free: 37.09 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.1566, allocations: 15.92 kB / 0.7496 GB, free: 37.07 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.1567, allocations: 11.92 kB / 0.7496 GB, free: 37.06 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.1567, allocations: 0 / 0.7496 GB, free: 37.06 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.1568, allocations: 8 kB / 0.7496 GB, free: 37.05 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002408/0.1592, allocations: 5.596 MB / 0.7551 GB, free: 31.45 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.1611, allocations: 4.211 MB / 0.7592 GB, free: 27.19 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004248/0.1653, allocations: 9.319 MB / 0.7683 GB, free: 17.83 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1653, allocations: 0 / 0.7683 GB, free: 17.83 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1653, allocations: 0 / 0.7683 GB, free: 17.83 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002009/0.1656, allocations: 0 / 0.7683 GB, free: 17.83 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: 2915 * Number of variables: 2915 Notification: Performance of Generate backend data structure: time 0.01094/0.1765, allocations: 10.83 MB / 0.7789 GB, free: 6.887 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.1766, allocations: 12.03 kB / 0.7789 GB, free: 6.875 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.1783, allocations: 1.335 MB / 0.7802 GB, free: 5.52 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.1884, allocations: 9.082 MB / 0.789 GB, free: 12.35 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1885, allocations: 4.312 kB / 0.789 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1885, allocations: 4.359 kB / 0.789 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008471/0.1969, allocations: 9.493 MB / 0.7983 GB, free: 2.832 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.197, allocations: 192 / 0.7983 GB, free: 2.832 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.197, allocations: 3.938 kB / 0.7983 GB, free: 2.828 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003824/0.2008, allocations: 4.38 MB / 0.8026 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.2176, allocations: 9.434 MB / 0.8118 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3621/0.5798, allocations: 16.24 MB / 0.8277 GB, free: 51.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/0.5989, allocations: 10.07 MB / 0.8375 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04711/0.646, allocations: 22.63 MB / 0.8596 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004976/0.6466, allocations: 294.8 kB / 0.8599 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.6468, allocations: 332 kB / 0.8602 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2915): time 5.29e-05/0.6469, allocations: 0.8125 kB / 0.8602 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2915): time 0.0553/0.7022, allocations: 34.58 MB / 0.894 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/0.7025, allocations: 347.3 kB / 0.8943 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03149/0.734, allocations: 19.53 MB / 0.9134 GB, free: 15.5 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009387/0.735, allocations: 482.3 kB / 0.9138 GB, free: 15.02 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.002964/0.738, allocations: 1.792 MB / 0.9156 GB, free: 13.43 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.009917/0.7479, allocations: 10.34 MB / 0.9257 GB, free: 2.945 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003289/0.7512, allocations: 0.8867 MB / 0.9265 GB, free: 2.059 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.003765/0.755, allocations: 2.366 MB / 0.9289 GB, free: 15.68 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03623/0.7913, allocations: 18.15 MB / 0.9466 GB, free: 13.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07014/0.8615, allocations: 53.46 MB / 0.9988 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09097/0.9525, allocations: 75.36 MB / 1.072 GB, free: 8.891 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001744/0.9543, allocations: 364 kB / 1.073 GB, free: 8.535 MB / 0.7293 GB Notification: Performance of matching and sorting (n=5830) (initialization): time 0.5121/1.466, allocations: 65.5 MB / 1.137 GB, free: 193.7 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.003117/1.47, allocations: 0.545 MB / 1.137 GB, free: 193.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003602/1.473, allocations: 1.246 MB / 1.138 GB, free: 191.9 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/1.475, allocations: 1.602 MB / 1.14 GB, free: 190.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02962/1.505, allocations: 10.94 MB / 1.151 GB, free: 179.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/1.507, allocations: 2.405 MB / 1.153 GB, free: 176.9 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02705/1.534, allocations: 2.98 MB / 1.156 GB, free: 173.9 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005708/1.54, allocations: 3.023 MB / 1.159 GB, free: 170.9 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5830 * 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 (5830): * Single equations (assignments): 5830 * 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.01494/1.555, allocations: 9.867 MB / 1.169 GB, free: 161 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002965/1.558, allocations: 1.694 MB / 1.17 GB, free: 159.3 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.561, allocations: 1.977 MB / 1.172 GB, free: 157.3 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001256/1.561, allocations: 275.2 kB / 1.172 GB, free: 157 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001286/1.561, allocations: 0 / 1.172 GB, free: 157 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001238/1.561, allocations: 139.5 kB / 1.173 GB, free: 156.9 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/1.58, allocations: 14.74 MB / 1.187 GB, free: 142.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000163/1.581, allocations: 0 / 1.187 GB, free: 142.5 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01389/1.594, allocations: 4.443 MB / 1.191 GB, free: 138.1 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/1.595, allocations: 95.98 kB / 1.191 GB, free: 138 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001922/1.597, allocations: 460 kB / 1.192 GB, free: 137.5 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001992/1.597, allocations: 92 kB / 1.192 GB, free: 137.4 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.597, allocations: 7.938 kB / 1.192 GB, free: 137.4 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/1.625, allocations: 26.08 MB / 1.217 GB, free: 111.3 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004728/1.63, allocations: 2.932 MB / 1.22 GB, free: 108.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003192/1.633, allocations: 456 kB / 1.221 GB, free: 107.9 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/1.636, allocations: 456 kB / 1.221 GB, free: 107.4 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001762/1.638, allocations: 1.444 MB / 1.222 GB, free: 106 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006895/1.639, allocations: 0.6262 MB / 1.223 GB, free: 105.3 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.01409/1.653, allocations: 12.47 MB / 1.235 GB, free: 92.93 MB / 0.7293 GB Notification: Performance of sort global known variables: time 4.31e-07/1.653, allocations: 0 / 1.235 GB, free: 92.93 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.03485/1.688, allocations: 5.785 MB / 1.241 GB, free: 87.14 MB / 0.7293 GB 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 (2915): * Single equations (assignments): 2915 * 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.002295/1.69, allocations: 0.8368 MB / 1.242 GB, free: 86.32 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.05341/1.743, allocations: 40.73 MB / 1.282 GB, free: 45.86 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.744, allocations: 0 / 1.282 GB, free: 45.86 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/1.759, allocations: 12.77 MB / 1.294 GB, free: 33.11 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/1.765, allocations: 1.107 MB / 1.295 GB, free: 32 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1/1.865, allocations: 70.7 MB / 1.364 GB, free: 9.211 MB / 0.7762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3628/2.227, allocations: 11.42 MB / 1.375 GB, free: 224.1 MB / 0.7762 GB Notification: Performance of simCode: alias equations: time 0.0454/2.273, allocations: 18.78 MB / 1.394 GB, free: 221.7 MB / 0.7762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006512/2.279, allocations: 1.255 MB / 1.395 GB, free: 221.7 MB / 0.7762 GB Notification: Performance of SimCode: time 1.252e-06/2.279, allocations: 3.562 kB / 1.395 GB, free: 221.7 MB / 0.7762 GB Notification: Performance of Templates: time 0.2173/2.497, allocations: 115.6 MB / 1.508 GB, free: 145 MB / 0.7762 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1)