Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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.001311/0.001311, allocations: 97.91 kB / 16.26 MB, free: 5.93 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.001215/0.001215, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.393/1.393, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2127/0.2127, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.002847/0.002847, allocations: 68.41 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1243, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001551/0.1259, allocations: 0.4975 MB / 441.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1275, allocations: 1.588 MB / 442.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.1275, allocations: 0 / 442.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.1276, allocations: 0 / 442.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.089e-06/0.1276, allocations: 4 kB / 442.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.1283, allocations: 271.2 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.128e-05/0.1283, allocations: 0 / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.1284, allocations: 0 / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.1284, allocations: 8 kB / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.644e-05/0.1284, allocations: 3.984 kB / 443 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-06/0.1284, allocations: 0 / 443 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.1289, allocations: 483 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-06/0.1289, allocations: 4 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.1289, allocations: 7.922 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1292, allocations: 311.3 kB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1293, allocations: 0 / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1293, allocations: 0 / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1293, allocations: 0 / 443.8 MB, free: 3.637 MB / 318.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.0002341/0.1295, allocations: 373.5 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1295, allocations: 11.89 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.762e-05/0.1296, allocations: 30.75 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.04e-05/0.1296, allocations: 0.9375 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.141e-05/0.1297, allocations: 164.4 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1297, allocations: 384 / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.1297, allocations: 384 / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.254e-05/0.1297, allocations: 41.81 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1298, allocations: 0 / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1298, allocations: 4 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.1298, allocations: 0 / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.1298, allocations: 3.938 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.738e-05/0.1299, allocations: 145.6 kB / 444.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.581e-05/0.1299, allocations: 18.61 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.1299, allocations: 8.859 kB / 444.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.1299, allocations: 0 / 444.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.13, allocations: 76.25 kB / 444.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.13, allocations: 3.938 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.1301, allocations: 67.28 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1302, allocations: 77.11 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.663e-05/0.1302, allocations: 89.86 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.1302, allocations: 25.7 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-06/0.1302, allocations: 80.14 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.1302, allocations: 0 / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.1302, allocations: 25.83 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.665e-05/0.1303, allocations: 310.8 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.1303, allocations: 0 / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.1303, allocations: 4 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.1303, allocations: 56.27 kB / 445.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1303, allocations: 0 / 445.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.973e-05/0.1304, allocations: 71.33 kB / 445.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1304, allocations: 37.64 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1304, allocations: 4.094 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1304, allocations: 3.984 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.1305, allocations: 0 / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1305, allocations: 0 / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.1305, allocations: 0 / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1305, allocations: 0 / 445.5 MB, free: 1.656 MB / 318.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 4.474e-05/0.1305, allocations: 139.5 kB / 445.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.1306, allocations: 3.938 kB / 445.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-06/0.1306, allocations: 7.109 kB / 445.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1306, allocations: 4 kB / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1306, allocations: 0 / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1306, allocations: 4 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.474e-05/0.1306, allocations: 145.7 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1306, allocations: 0 / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1306, allocations: 0 / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1306, allocations: 3.938 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1307, allocations: 3.984 kB / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1307, allocations: 7.984 kB / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1307, allocations: 0 / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.445e-05/0.1307, allocations: 90.78 kB / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.1307, allocations: 89.03 kB / 445.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.1308, allocations: 3.938 kB / 446 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.1308, allocations: 0 / 446 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1308, allocations: 0 / 446 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1308, allocations: 0 / 446 MB, free: 1.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.696e-06/0.1308, allocations: 79.28 kB / 446 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1308, allocations: 0 / 446 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1311, allocations: 68.02 kB / 446.1 MB, free: 0.9102 MB / 318.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.000473/0.1316, allocations: 0.7195 MB / 446.8 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.1316, allocations: 55.41 kB / 446.9 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1317, allocations: 0 / 446.9 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.1317, allocations: 55.41 kB / 446.9 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.1318, allocations: 11.08 kB / 446.9 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.1321, allocations: 134.6 kB / 447.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.1323, allocations: 0.669 MB / 447.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.721e-06/0.1324, allocations: 0 / 447.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.1324, allocations: 11.44 kB / 447.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1324, allocations: 0 / 447.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.1493, allocations: 2.09 MB / 449.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.715, allocations: 0 / 449.8 MB, free: 13.06 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_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_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1)