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.001548/0.001548, allocations: 110.2 kB / 16.4 MB, free: 6.367 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.001509/0.001509, allocations: 196.2 kB / 17.34 MB, free: 5.844 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.415/1.415, 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.2138/0.2138, allocations: 43.52 MB / 314.1 MB, free: 468 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.00199/0.00199, allocations: 77.44 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1172, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00165/0.1189, allocations: 0.4949 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008649/0.1276, allocations: 5.073 MB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.1277, allocations: 0 / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.1277, allocations: 0 / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.1277, allocations: 0 / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008167/0.1359, allocations: 2.991 MB / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.136, allocations: 0 / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.136, allocations: 0 / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.136, allocations: 4 kB / 0.4957 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.136, allocations: 11.92 kB / 0.4957 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.15e-06/0.1361, allocations: 0 / 0.4957 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02937/0.1654, allocations: 18.81 MB / 0.5141 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1655, allocations: 0 / 0.5141 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.1655, allocations: 4 kB / 0.5141 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.259/0.4245, allocations: 27.63 MB / 0.5411 GB, free: 20.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4246, allocations: 1.219 kB / 0.5411 GB, free: 20.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4246, allocations: 0 / 0.5411 GB, free: 20.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4246, allocations: 0 / 0.5411 GB, free: 20.36 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.01484/0.4394, allocations: 0.6918 MB / 0.5418 GB, free: 19.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4395, allocations: 14.23 kB / 0.5418 GB, free: 19.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.4395, allocations: 32.5 kB / 0.5418 GB, free: 19.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.4396, allocations: 7.5 kB / 0.5418 GB, free: 19.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/0.4396, allocations: 169.1 kB / 0.542 GB, free: 19.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4397, allocations: 0 / 0.542 GB, free: 19.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.4397, allocations: 1.125 kB / 0.542 GB, free: 19.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.4398, allocations: 30.5 kB / 0.542 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4398, allocations: 0.75 kB / 0.542 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.4398, allocations: 2.094 kB / 0.542 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4398, allocations: 0 / 0.542 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.4398, allocations: 1.156 kB / 0.542 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.4399, allocations: 155.2 kB / 0.5422 GB, free: 19.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.74e-05/0.44, allocations: 18.14 kB / 0.5422 GB, free: 19.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.44, allocations: 8.422 kB / 0.5422 GB, free: 19.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.44, allocations: 5.844 kB / 0.5422 GB, free: 19.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4401, allocations: 58.28 kB / 0.5423 GB, free: 19.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4401, allocations: 1.125 kB / 0.5423 GB, free: 19.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.4402, allocations: 66.84 kB / 0.5423 GB, free: 19.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4403, allocations: 78.97 kB / 0.5424 GB, free: 19.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.994e-05/0.4403, allocations: 89.86 kB / 0.5425 GB, free: 18.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.4403, allocations: 28.69 kB / 0.5425 GB, free: 18.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.4403, allocations: 83.67 kB / 0.5426 GB, free: 18.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.4404, allocations: 1.219 kB / 0.5426 GB, free: 18.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.4404, allocations: 12.52 kB / 0.5426 GB, free: 18.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.4405, allocations: 318.2 kB / 0.5429 GB, free: 18.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.4405, allocations: 1.031 kB / 0.5429 GB, free: 18.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.4405, allocations: 1.859 kB / 0.5429 GB, free: 18.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.4405, allocations: 67.08 kB / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4405, allocations: 0 / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.05e-05/0.4406, allocations: 62.53 kB / 0.543 GB, free: 18.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.4407, allocations: 31.77 kB / 0.5431 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4407, allocations: 3.172 kB / 0.5431 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4407, allocations: 2.344 kB / 0.5431 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.4407, allocations: 0.9688 kB / 0.5431 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4407, allocations: 2.25 kB / 0.5431 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.4407, allocations: 4.391 kB / 0.5431 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.4408, allocations: 0.875 kB / 0.5431 GB, free: 18.34 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 7.845e-05/0.4408, allocations: 141.2 kB / 0.5432 GB, free: 18.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.4409, allocations: 2.188 kB / 0.5432 GB, free: 18.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.448e-05/0.4409, allocations: 5.016 kB / 0.5432 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4409, allocations: 4.844 kB / 0.5432 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4409, allocations: 0 / 0.5432 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4409, allocations: 0.6562 kB / 0.5432 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.861e-05/0.441, allocations: 149.8 kB / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.441, allocations: 0.9375 kB / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.441, allocations: 1.031 kB / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.441, allocations: 0 / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.441, allocations: 2.484 kB / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.441, allocations: 2.719 kB / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.441, allocations: 1.031 kB / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.458e-05/0.4411, allocations: 97.48 kB / 0.5435 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.4412, allocations: 84.09 kB / 0.5436 GB, free: 17.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.4412, allocations: 2.875 kB / 0.5436 GB, free: 17.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.148e-05/0.4412, allocations: 2.562 kB / 0.5436 GB, free: 17.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.4412, allocations: 1.156 kB / 0.5436 GB, free: 17.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.4412, allocations: 1.406 kB / 0.5436 GB, free: 17.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.59e-05/0.4412, allocations: 78.34 kB / 0.5436 GB, free: 17.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4413, allocations: 0 / 0.5436 GB, free: 17.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01852/0.4598, allocations: 3.827 MB / 0.5474 GB, free: 17.61 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.03849/0.4983, allocations: 1.541 MB / 0.5489 GB, free: 16.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.4985, allocations: 61.81 kB / 0.5489 GB, free: 16.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4985, allocations: 0 / 0.5489 GB, free: 16.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/0.4985, allocations: 53.97 kB / 0.549 GB, free: 16.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.4987, allocations: 11.72 kB / 0.549 GB, free: 16.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.5123, allocations: 363.9 kB / 0.5493 GB, free: 16.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.5125, allocations: 0.6715 MB / 0.55 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.374e-06/0.5125, allocations: 0 / 0.55 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.5125, allocations: 9.625 kB / 0.55 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5126, allocations: 0 / 0.55 GB, free: 15.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1908/0.7033, allocations: 114.4 MB / 0.6617 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.7, allocations: 3.938 kB / 0.6618 GB, free: 1.605 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)