Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.251/0.251, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1332, allocations: 65.43 MB / 0.5517 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001555/0.1347, allocations: 0.4892 MB / 0.5522 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007669/0.1424, allocations: 4.912 MB / 0.557 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.1424, allocations: 0 / 0.557 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.1424, allocations: 4 kB / 0.557 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.601e-06/0.1424, allocations: 0 / 0.557 GB, free: 4.738 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.006847/0.1493, allocations: 2.928 MB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1494, allocations: 7.938 kB / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.1494, allocations: 0 / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.377e-05/0.1494, allocations: 4 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.514e-05/0.1494, allocations: 0 / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-06/0.1495, allocations: 0 / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03371/0.1832, allocations: 19.57 MB / 0.579 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.1832, allocations: 0 / 0.579 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.1832, allocations: 0 / 0.579 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3217/0.5049, allocations: 27.47 MB / 0.6058 GB, free: 21.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.5049, allocations: 0 / 0.6058 GB, free: 21.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5049, allocations: 1.438 kB / 0.6058 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.5049, allocations: 0 / 0.6058 GB, free: 21.11 MB / 446.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.0178/0.5227, allocations: 0.6703 MB / 0.6065 GB, free: 20.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5228, allocations: 11.12 kB / 0.6065 GB, free: 20.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.393e-05/0.5228, allocations: 33.89 kB / 0.6065 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.5228, allocations: 8.609 kB / 0.6065 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.434e-05/0.5229, allocations: 167.3 kB / 0.6067 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5229, allocations: 0 / 0.6067 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.5229, allocations: 4.344 kB / 0.6067 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.523, allocations: 32.55 kB / 0.6067 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.523, allocations: 0 / 0.6067 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.523, allocations: 0 / 0.6067 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.523, allocations: 3.234 kB / 0.6067 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.5231, allocations: 1.531 kB / 0.6067 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.5232, allocations: 147.1 kB / 0.6069 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/0.5232, allocations: 24.92 kB / 0.6069 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.5232, allocations: 9.141 kB / 0.6069 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.5232, allocations: 0 / 0.6069 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.5233, allocations: 62.28 kB / 0.607 GB, free: 19.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5233, allocations: 0 / 0.607 GB, free: 19.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.5235, allocations: 61.28 kB / 0.607 GB, free: 19.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5235, allocations: 83.64 kB / 0.6071 GB, free: 19.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.306e-05/0.5235, allocations: 91.23 kB / 0.6072 GB, free: 19.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.5235, allocations: 31.42 kB / 0.6072 GB, free: 19.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.209e-05/0.5235, allocations: 84.03 kB / 0.6073 GB, free: 19.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.5236, allocations: 1.062 kB / 0.6073 GB, free: 19.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.5236, allocations: 11.41 kB / 0.6073 GB, free: 19.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.5236, allocations: 319.8 kB / 0.6076 GB, free: 19.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-06/0.5236, allocations: 0.8438 kB / 0.6076 GB, free: 19.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.5237, allocations: 1.656 kB / 0.6076 GB, free: 19.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.5237, allocations: 62.17 kB / 0.6077 GB, free: 19.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5237, allocations: 0 / 0.6077 GB, free: 19.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.54e-05/0.5238, allocations: 65 kB / 0.6077 GB, free: 19.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.5238, allocations: 35.14 kB / 0.6078 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5238, allocations: 7.125 kB / 0.6078 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5238, allocations: 1.281 kB / 0.6078 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.5238, allocations: 0 / 0.6078 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5238, allocations: 0 / 0.6078 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.5238, allocations: 5.219 kB / 0.6078 GB, free: 19.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5238, allocations: 1.219 kB / 0.6078 GB, free: 19.1 MB / 446.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 5.653e-05/0.5239, allocations: 149.7 kB / 0.6079 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/0.5239, allocations: 0.9062 kB / 0.6079 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.5239, allocations: 3.125 kB / 0.6079 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.5239, allocations: 0 / 0.6079 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5239, allocations: 3.5 kB / 0.6079 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5239, allocations: 2 kB / 0.6079 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.073e-05/0.524, allocations: 147.9 kB / 0.6081 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.524, allocations: 2.25 kB / 0.6081 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-07/0.524, allocations: 0 / 0.6081 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.524, allocations: 0.9688 kB / 0.6081 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.524, allocations: 0.5 kB / 0.6081 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.524, allocations: 2.219 kB / 0.6081 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.524, allocations: 0 / 0.6081 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.602e-05/0.5241, allocations: 99.7 kB / 0.6082 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.5241, allocations: 78.33 kB / 0.6083 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.5241, allocations: 4.984 kB / 0.6083 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.5241, allocations: 1.688 kB / 0.6083 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.5241, allocations: 7.062 kB / 0.6083 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.5241, allocations: 1.594 kB / 0.6083 GB, free: 18.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.247e-05/0.5241, allocations: 77.94 kB / 0.6084 GB, free: 18.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5241, allocations: 0 / 0.6084 GB, free: 18.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.02477/0.5489, allocations: 3.781 MB / 0.612 GB, free: 18.39 MB / 446.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.04244/0.5913, allocations: 1.524 MB / 0.6135 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.5915, allocations: 60.69 kB / 0.6136 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5915, allocations: 0 / 0.6136 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.5915, allocations: 53.84 kB / 0.6136 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.5918, allocations: 5.75 kB / 0.6136 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.6078, allocations: 342.3 kB / 0.614 GB, free: 17.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.6079, allocations: 0.6766 MB / 0.6146 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.626e-06/0.6079, allocations: 4.125 kB / 0.6146 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.6079, allocations: 13.88 kB / 0.6147 GB, free: 16.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6079, allocations: 0 / 0.6147 GB, free: 16.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2078/0.8157, allocations: 113.8 MB / 0.7258 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.65, allocations: 7.688 kB / 0.7258 GB, free: 0.8164 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.724758078809828] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.759090398438275 16.774476759 16.266399727 Calling exit ...