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.001232/0.001231, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.001126/0.001126, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1971/0.1971, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001514/0.001514, allocations: 67.91 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001656/0.1062, allocations: 0.4987 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007428/0.1136, allocations: 5.07 MB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.1137, allocations: 0 / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1137, allocations: 0 / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.511e-06/0.1137, allocations: 0 / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006898/0.1206, allocations: 2.991 MB / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.1207, allocations: 0 / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.1207, allocations: 0 / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.1207, allocations: 8 kB / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.679e-05/0.1208, allocations: 7.984 kB / 0.4958 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-06/0.1208, allocations: 3.984 kB / 0.4958 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02608/0.1469, allocations: 18.81 MB / 0.5141 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1469, allocations: 7.922 kB / 0.5141 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.147, allocations: 4 kB / 0.5141 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2552/0.4021, allocations: 27.63 MB / 0.5411 GB, free: 20.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.4022, allocations: 0.75 kB / 0.5411 GB, free: 20.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4022, allocations: 0 / 0.5411 GB, free: 20.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.4022, allocations: 1 kB / 0.5411 GB, free: 20.31 MB / 414.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.01778/0.42, allocations: 0.689 MB / 0.5418 GB, free: 19.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4201, allocations: 15.36 kB / 0.5418 GB, free: 19.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.214e-05/0.4201, allocations: 30.75 kB / 0.5418 GB, free: 19.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.4201, allocations: 3.375 kB / 0.5418 GB, free: 19.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.424e-05/0.4202, allocations: 168.6 kB / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4202, allocations: 3.078 kB / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.4202, allocations: 1.125 kB / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.164e-05/0.4203, allocations: 29.06 kB / 0.542 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4203, allocations: 3.062 kB / 0.542 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.4203, allocations: 0 / 0.542 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4203, allocations: 3.562 kB / 0.542 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.4204, allocations: 5.344 kB / 0.542 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.28e-05/0.4205, allocations: 151.8 kB / 0.5422 GB, free: 19.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.4205, allocations: 24.92 kB / 0.5422 GB, free: 19.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.4205, allocations: 7.188 kB / 0.5422 GB, free: 19.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.4205, allocations: 0 / 0.5422 GB, free: 19.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4206, allocations: 64.69 kB / 0.5423 GB, free: 19.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4206, allocations: 0 / 0.5423 GB, free: 19.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.4208, allocations: 64.28 kB / 0.5423 GB, free: 19.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.4208, allocations: 78.77 kB / 0.5424 GB, free: 19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.05e-05/0.4208, allocations: 93.8 kB / 0.5425 GB, free: 18.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.4208, allocations: 27.55 kB / 0.5425 GB, free: 18.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.101e-05/0.4209, allocations: 81.34 kB / 0.5426 GB, free: 18.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.4209, allocations: 0.5 kB / 0.5426 GB, free: 18.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.4209, allocations: 14.8 kB / 0.5426 GB, free: 18.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.421, allocations: 316.6 kB / 0.5429 GB, free: 18.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.421, allocations: 1.156 kB / 0.5429 GB, free: 18.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.421, allocations: 1.125 kB / 0.5429 GB, free: 18.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.421, allocations: 68.81 kB / 0.543 GB, free: 18.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.421, allocations: 0 / 0.543 GB, free: 18.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.397e-05/0.4211, allocations: 63.59 kB / 0.5431 GB, free: 18.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4211, allocations: 30.97 kB / 0.5431 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4211, allocations: 1.797 kB / 0.5431 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4212, allocations: 3.172 kB / 0.5431 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.4212, allocations: 0 / 0.5431 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4212, allocations: 1.828 kB / 0.5431 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.4212, allocations: 4.125 kB / 0.5431 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4212, allocations: 1.156 kB / 0.5431 GB, free: 18.29 MB / 414.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.863e-05/0.4213, allocations: 139.1 kB / 0.5432 GB, free: 18.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.4213, allocations: 2.375 kB / 0.5432 GB, free: 18.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.005e-05/0.4213, allocations: 7.516 kB / 0.5432 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.4213, allocations: 0 / 0.5432 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4213, allocations: 1.281 kB / 0.5432 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4213, allocations: 0.7969 kB / 0.5432 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.968e-05/0.4214, allocations: 152.2 kB / 0.5434 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4214, allocations: 1.859 kB / 0.5434 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.4214, allocations: 0 / 0.5434 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4214, allocations: 0.6562 kB / 0.5434 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.4214, allocations: 3.75 kB / 0.5434 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.4214, allocations: 0 / 0.5434 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4214, allocations: 2.797 kB / 0.5434 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.006e-05/0.4215, allocations: 94.72 kB / 0.5435 GB, free: 17.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.4215, allocations: 84.94 kB / 0.5436 GB, free: 17.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.4215, allocations: 1.734 kB / 0.5436 GB, free: 17.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.4215, allocations: 1.469 kB / 0.5436 GB, free: 17.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.4216, allocations: 1.703 kB / 0.5436 GB, free: 17.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4216, allocations: 3.531 kB / 0.5436 GB, free: 17.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.513e-05/0.4216, allocations: 75.28 kB / 0.5436 GB, free: 17.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4216, allocations: 0 / 0.5436 GB, free: 17.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01718/0.4388, allocations: 3.826 MB / 0.5474 GB, free: 17.57 MB / 414.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.03516/0.474, allocations: 1.543 MB / 0.5489 GB, free: 16.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.4741, allocations: 66 kB / 0.549 GB, free: 16.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4741, allocations: 0 / 0.549 GB, free: 16.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.4742, allocations: 63.14 kB / 0.549 GB, free: 16.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.4743, allocations: 4.922 kB / 0.549 GB, free: 16.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.486, allocations: 353.8 kB / 0.5494 GB, free: 16.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.843e-05/0.4861, allocations: 0.6704 MB / 0.55 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.583e-06/0.4862, allocations: 0 / 0.55 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.4862, allocations: 11.59 kB / 0.55 GB, free: 15.72 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4862, allocations: 0 / 0.55 GB, free: 15.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/0.6486, allocations: 114.4 MB / 0.6618 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.07, allocations: 7.938 kB / 0.6618 GB, free: 1.629 MB / 0.4981 GB (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)