Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 121.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2324/0.2324, allocations: 46.92 MB / 357.7 MB, free: 10.21 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003118/0.003118, allocations: 87.84 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1375, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003497/0.141, allocations: 1.63 MB / 0.5578 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.142, allocations: 0.5372 MB / 0.5583 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.142, allocations: 0 / 0.5583 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1423, allocations: 103.7 kB / 0.5584 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.1427, allocations: 131.5 kB / 0.5585 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.143, allocations: 86.83 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1431, allocations: 99.73 kB / 0.5587 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.1432, allocations: 8 kB / 0.5587 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.1433, allocations: 43.83 kB / 0.5588 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1434, allocations: 75.78 kB / 0.5588 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1434, allocations: 4 kB / 0.5588 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.1435, allocations: 39.98 kB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.1436, allocations: 31.91 kB / 0.5589 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1436, allocations: 35.62 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1439, allocations: 123.4 kB / 0.5591 GB, free: 2.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1439, allocations: 4 kB / 0.5591 GB, free: 2.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1439, allocations: 0 / 0.5591 GB, free: 2.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1439, allocations: 0 / 0.5591 GB, free: 2.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005583/0.1444, allocations: 430.6 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1445, allocations: 8.031 kB / 0.5595 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1445, allocations: 38.69 kB / 0.5595 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1446, allocations: 12.89 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1448, allocations: 209.5 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1448, allocations: 4.375 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1448, allocations: 4.375 kB / 0.5597 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.145, allocations: 54.17 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.145, allocations: 11.89 kB / 0.5598 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.145, allocations: 4 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.145, allocations: 0 / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1451, allocations: 27.97 kB / 0.5598 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.1455, allocations: 296.8 kB / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1457, allocations: 46.55 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.1457, allocations: 16.94 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1457, allocations: 8.062 kB / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1458, allocations: 30.56 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1458, allocations: 4 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008868/0.1466, allocations: 229.1 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1467, allocations: 59.34 kB / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.147, allocations: 258.1 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.147, allocations: 25.7 kB / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.147, allocations: 112.1 kB / 0.5609 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.1471, allocations: 23.75 kB / 0.5609 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.1471, allocations: 25.7 kB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1473, allocations: 330.8 kB / 0.5612 GB, free: 144 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.1473, allocations: 19.98 kB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.1474, allocations: 23.98 kB / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.1476, allocations: 64.83 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1476, allocations: 0 / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002322/0.1478, allocations: 113.5 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1478, allocations: 4 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1478, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1478, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1479, allocations: 19.98 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1479, allocations: 4 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.148, allocations: 4 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.148, allocations: 7.922 kB / 0.5615 GB, free: 15.88 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001128/0.1481, allocations: 129.8 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1481, allocations: 15.84 kB / 0.5616 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.1484, allocations: 127 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1484, allocations: 0 / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1484, allocations: 7.984 kB / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1484, allocations: 0 / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.149, allocations: 419.1 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.149, allocations: 0 / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.149, allocations: 19.98 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.149, allocations: 0 / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.149, allocations: 3.938 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.149, allocations: 4.031 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.149, allocations: 4.469 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1493, allocations: 208.2 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.1494, allocations: 85.06 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1494, allocations: 7.938 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1495, allocations: 11.98 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1495, allocations: 4 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1495, allocations: 3.984 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1497, allocations: 192.4 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1497, allocations: 0 / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1499, allocations: 19.94 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.002146/0.1521, allocations: 1.097 MB / 0.5638 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1523, allocations: 63.95 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1523, allocations: 0 / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.1524, allocations: 35.92 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1527, allocations: 25.86 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.1548, allocations: 1.756 MB / 0.5656 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1552, allocations: 0.708 MB / 0.5663 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.1552, allocations: 12.97 kB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.1553, allocations: 47.41 kB / 0.5663 GB, free: 10.79 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1553, allocations: 0 / 0.5663 GB, free: 10.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1793, allocations: 3.307 MB / 0.5696 GB, free: 7.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.195, allocations: 14.95 kB / 0.5696 GB, free: 7.539 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.289094801060855] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.318377243820578 8.332229512 8.185587864 Calling exit ...