Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.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.00176/0.00176, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002311/0.002311, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.547/1.547, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2381/0.2381, allocations: 46.88 MB / 357.4 MB, free: 10.53 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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33",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.002274/0.002274, allocations: 83.86 kB / 0.4912 GB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1353, allocations: 65.98 MB / 0.5557 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003319/0.1386, allocations: 1.61 MB / 0.5572 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1411, allocations: 1.175 MB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.1412, allocations: 4 kB / 0.5584 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1415, allocations: 31.77 kB / 0.5584 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.142, allocations: 79.64 kB / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1424, allocations: 107.1 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.1426, allocations: 75.75 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1427, allocations: 8 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.1428, allocations: 23.92 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.143, allocations: 35.84 kB / 0.5587 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.143, allocations: 8 kB / 0.5587 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.1432, allocations: 103.9 kB / 0.5588 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.1433, allocations: 19.86 kB / 0.5589 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.1433, allocations: 15.88 kB / 0.5589 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1436, allocations: 151.4 kB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1436, allocations: 0 / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1436, allocations: 0 / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1436, allocations: 0 / 0.559 GB, free: 3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006018/0.1442, allocations: 402.8 kB / 0.5594 GB, free: 2.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1443, allocations: 8.031 kB / 0.5594 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.1443, allocations: 38.75 kB / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1444, allocations: 8.891 kB / 0.5595 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1446, allocations: 192.3 kB / 0.5596 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1446, allocations: 4.359 kB / 0.5596 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1446, allocations: 4.375 kB / 0.5597 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1448, allocations: 63.91 kB / 0.5597 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1448, allocations: 3.938 kB / 0.5597 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1449, allocations: 0 / 0.5597 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1449, allocations: 4 kB / 0.5597 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.74e-05/0.145, allocations: 27.97 kB / 0.5597 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.1454, allocations: 288.8 kB / 0.56 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.1456, allocations: 46.5 kB / 0.5601 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.1457, allocations: 16.94 kB / 0.5601 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1457, allocations: 4 kB / 0.5601 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1458, allocations: 30.56 kB / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1458, allocations: 0 / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005946/0.1463, allocations: 153.7 kB / 0.5603 GB, free: 1.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.1464, allocations: 81.11 kB / 0.5603 GB, free: 1.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1466, allocations: 147.9 kB / 0.5605 GB, free: 1.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1466, allocations: 29.7 kB / 0.5605 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.1467, allocations: 92.12 kB / 0.5606 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.1467, allocations: 19.8 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1468, allocations: 29.7 kB / 0.5606 GB, free: 1.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1469, allocations: 318.8 kB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.147, allocations: 19.98 kB / 0.561 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.1471, allocations: 41.69 kB / 0.561 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1472, allocations: 52.77 kB / 0.5611 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1472, allocations: 0 / 0.5611 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002064/0.1474, allocations: 93.8 kB / 0.5611 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1474, allocations: 7.938 kB / 0.5612 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1474, allocations: 0 / 0.5612 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1474, allocations: 4.031 kB / 0.5612 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.1475, allocations: 15.98 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1475, allocations: 0 / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1476, allocations: 7.938 kB / 0.5612 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1476, allocations: 0 / 0.5612 GB, free: 0.5352 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 (5): * Single equations (assignments): 5 * 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 9.879e-05/0.1477, allocations: 121.7 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1477, allocations: 7.953 kB / 0.5613 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.148, allocations: 102 kB / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.148, allocations: 0 / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.148, allocations: 0 / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.148, allocations: 0 / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.1485, allocations: 362.4 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1485, allocations: 0 / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1486, allocations: 15.98 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1486, allocations: 0 / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1486, allocations: 4 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1486, allocations: 0 / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1486, allocations: 7.938 kB / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1488, allocations: 179.4 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.1489, allocations: 85.06 kB / 0.562 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1489, allocations: 8.234 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.149, allocations: 8 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.149, allocations: 7.938 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.149, allocations: 4 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1491, allocations: 117.8 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1491, allocations: 0 / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.1494, allocations: 39.86 kB / 0.5622 GB, free: 15.38 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.002198/0.1516, allocations: 1.102 MB / 0.5633 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1518, allocations: 51.89 kB / 0.5633 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1518, allocations: 4 kB / 0.5633 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.1519, allocations: 27.98 kB / 0.5634 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1523, allocations: 22.36 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1541, allocations: 1.436 MB / 0.5648 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1544, allocations: 0.6885 MB / 0.5655 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.962e-05/0.1545, allocations: 23.75 kB / 0.5655 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.1546, allocations: 27.42 kB / 0.5655 GB, free: 12.05 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1546, allocations: 4 kB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.1819, allocations: 3.286 MB / 0.5687 GB, free: 8.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.213, allocations: 2.109 kB / 0.5687 GB, free: 8.777 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.358126664999872] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.338163237087429 8.365648663 8.216950438 Calling exit ...