Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001213/0.001213, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001349/0.001349, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.454/1.454, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.89 kB / 0.4909 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1336, allocations: 65.98 MB / 0.5554 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001702/0.1353, allocations: 499.2 kB / 0.5558 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007991/0.1433, allocations: 4.912 MB / 0.5606 GB, free: 476 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.1433, allocations: 0 / 0.5606 GB, free: 476 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1433, allocations: 4 kB / 0.5606 GB, free: 472 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/0.1434, allocations: 0 / 0.5606 GB, free: 472 kB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.007483/0.1508, allocations: 2.935 MB / 0.5635 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.1509, allocations: 3.984 kB / 0.5635 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.1509, allocations: 0 / 0.5635 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.151, allocations: 11.98 kB / 0.5635 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.151, allocations: 0 / 0.5635 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-06/0.151, allocations: 0 / 0.5635 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02767/0.1787, allocations: 19.56 MB / 0.5826 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.1787, allocations: 0 / 0.5826 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.1787, allocations: 11.92 kB / 0.5826 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2904/0.4691, allocations: 27.47 MB / 0.6095 GB, free: 20.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.4691, allocations: 0 / 0.6095 GB, free: 20.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4691, allocations: 0 / 0.6095 GB, free: 20.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.4692, allocations: 0 / 0.6095 GB, free: 20.97 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.01465/0.4838, allocations: 0.6709 MB / 0.6101 GB, free: 20.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4838, allocations: 9.25 kB / 0.6101 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.105e-05/0.4839, allocations: 33.06 kB / 0.6101 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.4839, allocations: 5.812 kB / 0.6102 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.589e-05/0.4839, allocations: 168 kB / 0.6103 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.484, allocations: 0.5312 kB / 0.6103 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.484, allocations: 3.859 kB / 0.6103 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.141e-05/0.4841, allocations: 33.58 kB / 0.6103 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.4841, allocations: 2.094 kB / 0.6104 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.4841, allocations: 0 / 0.6104 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4841, allocations: 1.562 kB / 0.6104 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.4841, allocations: 3.609 kB / 0.6104 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.784e-05/0.4842, allocations: 148.2 kB / 0.6105 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.4842, allocations: 24.58 kB / 0.6105 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.4842, allocations: 6.906 kB / 0.6105 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.4842, allocations: 0 / 0.6105 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4843, allocations: 61.48 kB / 0.6106 GB, free: 19.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.4843, allocations: 0.7031 kB / 0.6106 GB, free: 19.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.4844, allocations: 68.47 kB / 0.6107 GB, free: 19.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.4844, allocations: 79.14 kB / 0.6107 GB, free: 19.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.6e-05/0.4845, allocations: 89.86 kB / 0.6108 GB, free: 19.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.4845, allocations: 25.7 kB / 0.6108 GB, free: 19.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.187e-06/0.4845, allocations: 81.52 kB / 0.6109 GB, free: 19.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.4845, allocations: 0 / 0.6109 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.4845, allocations: 13.58 kB / 0.6109 GB, free: 19.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.4846, allocations: 327.8 kB / 0.6112 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-06/0.4846, allocations: 1.219 kB / 0.6112 GB, free: 19.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-06/0.4846, allocations: 1.781 kB / 0.6112 GB, free: 19.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.4846, allocations: 64.12 kB / 0.6113 GB, free: 19.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4846, allocations: 0 / 0.6113 GB, free: 19.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.32e-05/0.4847, allocations: 66.73 kB / 0.6114 GB, free: 18.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4847, allocations: 32.05 kB / 0.6114 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4847, allocations: 1.719 kB / 0.6114 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4847, allocations: 5.156 kB / 0.6114 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.4847, allocations: 0 / 0.6114 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4847, allocations: 0 / 0.6114 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.4847, allocations: 0 / 0.6114 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.4847, allocations: 0 / 0.6114 GB, free: 18.95 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 4.53e-05/0.4848, allocations: 148.7 kB / 0.6115 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.4848, allocations: 7.906 kB / 0.6116 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-06/0.4848, allocations: 4.766 kB / 0.6116 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.4848, allocations: 5.156 kB / 0.6116 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.4848, allocations: 0 / 0.6116 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.4848, allocations: 0 / 0.6116 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.737e-05/0.4848, allocations: 156.2 kB / 0.6117 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4848, allocations: 1.375 kB / 0.6117 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.4848, allocations: 0.875 kB / 0.6117 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.4848, allocations: 0 / 0.6117 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.4849, allocations: 0 / 0.6117 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4849, allocations: 1.75 kB / 0.6117 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4849, allocations: 0 / 0.6117 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.794e-05/0.4849, allocations: 96.08 kB / 0.6118 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.4849, allocations: 77.11 kB / 0.6119 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.485, allocations: 2.906 kB / 0.6119 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.485, allocations: 3.609 kB / 0.6119 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.485, allocations: 1.75 kB / 0.6119 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.485, allocations: 0 / 0.6119 GB, free: 18.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.778e-06/0.485, allocations: 76.59 kB / 0.612 GB, free: 18.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.485, allocations: 3.562 kB / 0.612 GB, free: 18.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.02091/0.5059, allocations: 3.79 MB / 0.6157 GB, free: 17.65 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.04364/0.5495, allocations: 1.507 MB / 0.6171 GB, free: 16.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.5497, allocations: 69.19 kB / 0.6172 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5497, allocations: 0 / 0.6172 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.5497, allocations: 59.27 kB / 0.6173 GB, free: 16.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.5498, allocations: 7.391 kB / 0.6173 GB, free: 16.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.5667, allocations: 336.2 kB / 0.6176 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.5668, allocations: 0.6728 MB / 0.6182 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.907e-06/0.5668, allocations: 0 / 0.6182 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.5668, allocations: 11.44 kB / 0.6183 GB, free: 15.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.754e-06/0.5668, allocations: 3.938 kB / 0.6183 GB, free: 15.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2064/0.7732, allocations: 113.8 MB / 0.7294 GB, free: 13.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.37, allocations: 15.56 kB / 0.7294 GB, free: 13.37 MB / 0.545 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.388801572000375] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.472807961996295 16.488009411 16.015888937 Calling exit ...