Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 100.5 kB / 16.27 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 193.9 kB / 17.2 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2132/0.2132, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 66.11 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09468, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001547/0.09628, allocations: 497.5 kB / 441.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.1019, allocations: 5.064 MB / 446.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.1019, allocations: 0 / 446.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.102, allocations: 0 / 446.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.839e-06/0.102, allocations: 3.938 kB / 446.2 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006436/0.1084, allocations: 3.003 MB / 449.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1085, allocations: 0 / 449.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.1085, allocations: 0 / 449.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.1085, allocations: 7.984 kB / 449.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.443e-05/0.1086, allocations: 0 / 449.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.1086, allocations: 0 / 449.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0238/0.1324, allocations: 18.55 MB / 467.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1324, allocations: 0 / 467.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.1325, allocations: 4 kB / 467.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03527/0.1677, allocations: 27.63 MB / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1678, allocations: 0 / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1678, allocations: 4 kB / 495.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1678, allocations: 0 / 495.4 MB, free: 15.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.006696/0.1745, allocations: 0.669 MB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1746, allocations: 11.89 kB / 496 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.1746, allocations: 30.75 kB / 496.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.1746, allocations: 4.938 kB / 496.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.731e-05/0.1747, allocations: 167 kB / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.1747, allocations: 0 / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.1748, allocations: 0 / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.844e-05/0.1748, allocations: 41.62 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1749, allocations: 0 / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.1749, allocations: 0 / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1749, allocations: 0 / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.1749, allocations: 0 / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.175, allocations: 157.6 kB / 496.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.538e-05/0.1751, allocations: 18.56 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.1751, allocations: 4.859 kB / 496.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.1751, allocations: 8.031 kB / 496.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.1751, allocations: 64.2 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1752, allocations: 0 / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.1753, allocations: 63.41 kB / 496.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1754, allocations: 81.09 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.775e-05/0.1754, allocations: 89.86 kB / 496.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1754, allocations: 25.7 kB / 496.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.1754, allocations: 84.27 kB / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.1755, allocations: 0 / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1755, allocations: 13.72 kB / 496.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.1756, allocations: 314.8 kB / 497.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.1756, allocations: 0 / 497.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-06/0.1756, allocations: 11.94 kB / 497.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.1757, allocations: 56.27 kB / 497.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1757, allocations: 4 kB / 497.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.354e-05/0.1757, allocations: 63.45 kB / 497.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.1758, allocations: 33.7 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1758, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1758, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.1758, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1758, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.1758, allocations: 3.938 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1759, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.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: 1 (result) * 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: 0 * Algorithm blocks: 1 * 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 7.47e-05/0.1759, allocations: 143.5 kB / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.176, allocations: 4.031 kB / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-06/0.176, allocations: 7.062 kB / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.176, allocations: 4 kB / 497.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.176, allocations: 7.938 kB / 497.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.176, allocations: 3.938 kB / 497.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.166e-05/0.1761, allocations: 145.7 kB / 497.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1761, allocations: 3.984 kB / 497.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1761, allocations: 0 / 497.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1761, allocations: 0 / 497.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1761, allocations: 4 kB / 497.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1761, allocations: 4 kB / 497.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1761, allocations: 0 / 497.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.156e-05/0.1762, allocations: 98.67 kB / 497.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.1763, allocations: 77.11 kB / 497.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1763, allocations: 0 / 497.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.1763, allocations: 0 / 497.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.1763, allocations: 0 / 497.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1763, allocations: 7.938 kB / 497.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.234e-05/0.1763, allocations: 83.25 kB / 497.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1763, allocations: 0 / 497.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.009818/0.1862, allocations: 3.812 MB / 0.49 GB, free: 9.211 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.01851/0.2047, allocations: 1.529 MB / 0.4915 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.2049, allocations: 59.34 kB / 0.4915 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2049, allocations: 64 / 0.4915 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.2049, allocations: 63.41 kB / 0.4916 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.2051, allocations: 7.938 kB / 0.4916 GB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/0.2144, allocations: 334.6 kB / 0.4919 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2146, allocations: 0.6729 MB / 0.4926 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.094e-06/0.2146, allocations: 0 / 0.4926 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.2147, allocations: 11.44 kB / 0.4926 GB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2147, allocations: 0 / 0.4926 GB, free: 6.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3518/0.5665, allocations: 114.4 MB / 0.6043 GB, free: 15.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.48/17.05, allocations: 7.406 kB / 0.6043 GB, free: 15.47 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe 2>&1)