Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001389/0.001389, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001626/0.001626, allocations: 213.1 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.25 MB / 330.3 MB, free: 9.332 MB / 270.1 MB " [Timeout remaining time 179] 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.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 75.88 kB / 467.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1342, allocations: 61.03 MB / 0.5161 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001581/0.1358, allocations: 0.5142 MB / 0.5166 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.1387, allocations: 2.054 MB / 0.5186 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.1387, allocations: 4 kB / 0.5186 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.1388, allocations: 4 kB / 0.5186 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.1388, allocations: 0 / 0.5186 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.1408, allocations: 0.7599 MB / 0.5194 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.1409, allocations: 3.984 kB / 0.5194 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.1409, allocations: 4 kB / 0.5194 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.1409, allocations: 0 / 0.5194 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.673e-05/0.141, allocations: 3.938 kB / 0.5194 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-06/0.141, allocations: 0 / 0.5194 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.1431, allocations: 1.545 MB / 0.5209 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.1431, allocations: 3.984 kB / 0.5209 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.1431, allocations: 4 kB / 0.5209 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1446, allocations: 1.544 MB / 0.5224 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1446, allocations: 4 kB / 0.5224 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1446, allocations: 0 / 0.5224 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1446, allocations: 0 / 0.5224 GB, free: 0.7422 MB / 398.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.0005632/0.1452, allocations: 351.3 kB / 0.5228 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1452, allocations: 8.031 kB / 0.5228 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1453, allocations: 30.75 kB / 0.5228 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.1453, allocations: 4.938 kB / 0.5228 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.1454, allocations: 102.5 kB / 0.5229 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1454, allocations: 384 / 0.5229 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.1454, allocations: 3.938 kB / 0.5229 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.1455, allocations: 59.34 kB / 0.523 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1455, allocations: 0 / 0.523 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.1455, allocations: 0 / 0.523 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1455, allocations: 0 / 0.523 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.1455, allocations: 41.69 kB / 0.523 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.1457, allocations: 112.8 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.1458, allocations: 48.25 kB / 0.5232 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.1458, allocations: 38.5 kB / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-06/0.1458, allocations: 0 / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.1459, allocations: 64.31 kB / 0.5233 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1459, allocations: 0 / 0.5233 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002222/0.1462, allocations: 110.8 kB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.1462, allocations: 77.11 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.1463, allocations: 97.98 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1463, allocations: 25.7 kB / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1464, allocations: 84.12 kB / 0.5236 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1464, allocations: 4 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.1464, allocations: 9.719 kB / 0.5236 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1466, allocations: 310.8 kB / 0.5239 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.1466, allocations: 29.7 kB / 0.524 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.1466, allocations: 29.64 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.1467, allocations: 64.27 kB / 0.5241 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1467, allocations: 0 / 0.5241 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.436e-05/0.1468, allocations: 97.09 kB / 0.5241 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.1468, allocations: 29.7 kB / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1468, allocations: 0 / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1468, allocations: 3.938 kB / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1468, allocations: 4 kB / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1468, allocations: 3.938 kB / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.1468, allocations: 0 / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1468, allocations: 0 / 0.5242 GB, free: 14.64 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 0.0001189/0.147, allocations: 143.5 kB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-06/0.147, allocations: 7.875 kB / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-06/0.147, allocations: 7.031 kB / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.147, allocations: 0 / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.147, allocations: 0 / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.147, allocations: 0 / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1471, allocations: 128.7 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1471, allocations: 0 / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.1471, allocations: 4 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.1471, allocations: 0 / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1471, allocations: 0 / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1471, allocations: 4 kB / 0.5245 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1471, allocations: 0 / 0.5245 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.1473, allocations: 124.5 kB / 0.5246 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-06/0.1473, allocations: 0 / 0.5246 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1473, allocations: 0 / 0.5246 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-06/0.1473, allocations: 0 / 0.5246 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1473, allocations: 8 kB / 0.5246 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.1473, allocations: 0 / 0.5246 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.197e-05/0.1473, allocations: 75.28 kB / 0.5247 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1473, allocations: 3.938 kB / 0.5247 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007723/0.1481, allocations: 275.6 kB / 0.5249 GB, free: 13.79 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.001618/0.1497, allocations: 0.9687 MB / 0.5259 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1499, allocations: 110.8 kB / 0.526 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1499, allocations: 0 / 0.526 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.1499, allocations: 85.05 kB / 0.5261 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1501, allocations: 7.984 kB / 0.5261 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.1505, allocations: 195.8 kB / 0.5263 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.1507, allocations: 59.34 kB / 0.5263 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.68e-06/0.1507, allocations: 0 / 0.5263 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.1507, allocations: 7.438 kB / 0.5263 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1507, allocations: 4 kB / 0.5263 GB, free: 12.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/0.192, allocations: 8.745 MB / 0.5349 GB, free: 3.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.53, allocations: 4.062 kB / 0.5349 GB, free: 3.449 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_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_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.289983973838389] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.642236180137843 11.897754805 11.749758978000001 Calling exit ...