Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001589/0.001589, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002038/0.002038, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.575/1.575, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2922/0.2922, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",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.002359/0.002359, allocations: 87.86 kB / 0.4913 GB, free: 8.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1405, allocations: 65.97 MB / 0.5557 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003163/0.1437, allocations: 1.629 MB / 0.5573 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1449, allocations: 0.5605 MB / 0.5578 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.1449, allocations: 3.938 kB / 0.5578 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.1453, allocations: 119.7 kB / 0.5579 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.1456, allocations: 131.5 kB / 0.5581 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.146, allocations: 107.1 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1462, allocations: 99.73 kB / 0.5583 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1463, allocations: 23.97 kB / 0.5583 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.1464, allocations: 39.89 kB / 0.5583 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1465, allocations: 99.69 kB / 0.5584 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1466, allocations: 4 kB / 0.5584 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1467, allocations: 47.92 kB / 0.5585 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.1467, allocations: 23.92 kB / 0.5585 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.1468, allocations: 39.69 kB / 0.5585 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.147, allocations: 127.4 kB / 0.5586 GB, free: 3.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.147, allocations: 3.984 kB / 0.5586 GB, free: 3.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.147, allocations: 4 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.147, allocations: 0 / 0.5587 GB, free: 3.336 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.0005922/0.1476, allocations: 438.6 kB / 0.5591 GB, free: 2.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1476, allocations: 8.031 kB / 0.5591 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.1477, allocations: 42.62 kB / 0.5591 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.1477, allocations: 16.84 kB / 0.5591 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.148, allocations: 211.8 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.148, allocations: 4.375 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.148, allocations: 384 / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1482, allocations: 66.22 kB / 0.5594 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1482, allocations: 3.938 kB / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1482, allocations: 0 / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1482, allocations: 0 / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1483, allocations: 27.97 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.1488, allocations: 308.8 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1489, allocations: 46.56 kB / 0.5598 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1489, allocations: 20.94 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.149, allocations: 0 / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.149, allocations: 38.5 kB / 0.5598 GB, free: 1.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.149, allocations: 0 / 0.5598 GB, free: 1.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009216/0.1499, allocations: 257.4 kB / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.15, allocations: 59.39 kB / 0.5601 GB, free: 1.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.1503, allocations: 271.8 kB / 0.5604 GB, free: 1.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1503, allocations: 29.7 kB / 0.5604 GB, free: 1.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.1504, allocations: 112.1 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1504, allocations: 31.73 kB / 0.5606 GB, free: 1.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1504, allocations: 21.72 kB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.1506, allocations: 334.8 kB / 0.5609 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.1507, allocations: 27.98 kB / 0.5609 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.1508, allocations: 31.97 kB / 0.561 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.151, allocations: 73.05 kB / 0.561 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.151, allocations: 4 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003184/0.1513, allocations: 125.5 kB / 0.5611 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1513, allocations: 4 kB / 0.5611 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1513, allocations: 0 / 0.5611 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1513, allocations: 4 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1514, allocations: 15.98 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1515, allocations: 0 / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.1515, allocations: 4 kB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1515, allocations: 7.938 kB / 0.5612 GB, free: 0.5 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: 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.000131/0.1516, allocations: 137.8 kB / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1517, allocations: 11.91 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.152, allocations: 143 kB / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.152, allocations: 0 / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.152, allocations: 0 / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.152, allocations: 0 / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.1527, allocations: 447.1 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1527, allocations: 0 / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.1528, allocations: 15.98 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1528, allocations: 0 / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1528, allocations: 7.938 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1528, allocations: 0 / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1528, allocations: 7.875 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.1531, allocations: 220.3 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.1532, allocations: 89.02 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1532, allocations: 7.938 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1533, allocations: 4 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.1533, allocations: 7.984 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1533, allocations: 0 / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1535, allocations: 213.5 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1535, allocations: 0 / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1538, allocations: 23.92 kB / 0.5625 GB, free: 15.08 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.002328/0.1561, allocations: 1.105 MB / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1564, allocations: 79.86 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1564, allocations: 4 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.1565, allocations: 31.98 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1569, allocations: 23.77 kB / 0.5637 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.1591, allocations: 1.856 MB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1595, allocations: 0.7224 MB / 0.5662 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.82e-05/0.1596, allocations: 20.95 kB / 0.5662 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.1596, allocations: 43.42 kB / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1596, allocations: 0 / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.1855, allocations: 3.478 MB / 0.5696 GB, free: 7.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.265, allocations: 7.719 kB / 0.5697 GB, free: 7.801 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.479140111710876] 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.392441518139094 8.414503106 8.263276281 Calling exit ...