Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001743/0.001743, allocations: 120.4 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.002197/0.002197, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.519/1.519, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2402/0.2402, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",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.002266/0.002266, allocations: 79.86 kB / 0.4912 GB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1377, allocations: 65.98 MB / 0.5557 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003007/0.1407, allocations: 1.637 MB / 0.5573 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1425, allocations: 1.163 MB / 0.5584 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.1425, allocations: 0 / 0.5584 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.1427, allocations: 23.84 kB / 0.5584 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.143, allocations: 87.62 kB / 0.5585 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1432, allocations: 95.62 kB / 0.5586 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1434, allocations: 83.75 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.1435, allocations: 11.98 kB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1436, allocations: 31.86 kB / 0.5587 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1437, allocations: 35.84 kB / 0.5588 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1437, allocations: 4 kB / 0.5588 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1439, allocations: 103.9 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.1439, allocations: 19.92 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.144, allocations: 27.88 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.1442, allocations: 151.4 kB / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1442, allocations: 0 / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1442, allocations: 0 / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1442, allocations: 0 / 0.559 GB, free: 2.977 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006029/0.1448, allocations: 414.7 kB / 0.5594 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1449, allocations: 12.03 kB / 0.5595 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.1449, allocations: 38.73 kB / 0.5595 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.145, allocations: 8.891 kB / 0.5595 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1452, allocations: 192.3 kB / 0.5597 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1452, allocations: 4.375 kB / 0.5597 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1452, allocations: 8.375 kB / 0.5597 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1454, allocations: 71.89 kB / 0.5598 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1454, allocations: 3.938 kB / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1454, allocations: 0 / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1455, allocations: 4 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1456, allocations: 31.97 kB / 0.5598 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.146, allocations: 312.7 kB / 0.5601 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1461, allocations: 46.5 kB / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.1462, allocations: 24.97 kB / 0.5602 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1462, allocations: 0 / 0.5602 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1462, allocations: 30.56 kB / 0.5602 GB, free: 1.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.1462, allocations: 4 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006345/0.1469, allocations: 181.4 kB / 0.5604 GB, free: 1.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.1469, allocations: 81.11 kB / 0.5605 GB, free: 1.332 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1471, allocations: 155.7 kB / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1471, allocations: 33.7 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.1472, allocations: 92.14 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1472, allocations: 31.73 kB / 0.5608 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.1473, allocations: 21.72 kB / 0.5608 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1474, allocations: 326.8 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.1475, allocations: 19.98 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.1476, allocations: 49.62 kB / 0.5611 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1477, allocations: 64.86 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1478, allocations: 3.938 kB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002161/0.148, allocations: 97.61 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.148, allocations: 4 kB / 0.5613 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.148, allocations: 0 / 0.5613 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.148, allocations: 3.984 kB / 0.5613 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1481, allocations: 19.98 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1481, allocations: 3.938 kB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.1482, allocations: 11.98 kB / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1482, allocations: 7.938 kB / 0.5614 GB, free: 364 kB / 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 9.832e-05/0.1483, allocations: 113.8 kB / 0.5615 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1483, allocations: 11.95 kB / 0.5615 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.1486, allocations: 114.6 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1486, allocations: 4 kB / 0.5616 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1486, allocations: 0 / 0.5616 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1486, allocations: 4 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.1492, allocations: 394.3 kB / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1492, allocations: 3.984 kB / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1493, allocations: 16 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1493, allocations: 0 / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1493, allocations: 7.922 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1493, allocations: 384 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1493, allocations: 4 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.1496, allocations: 203.3 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.1497, allocations: 85.06 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1497, allocations: 7.938 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1499, allocations: 4 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1499, allocations: 11.98 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1499, allocations: 0 / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1501, allocations: 124.8 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1501, allocations: 0 / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004893/0.1506, allocations: 39.86 kB / 0.5625 GB, free: 15.12 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 (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.00314/0.1537, allocations: 1.116 MB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.1541, allocations: 71.88 kB / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1541, allocations: 0 / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1542, allocations: 31.92 kB / 0.5636 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.1548, allocations: 22.8 kB / 0.5637 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.1576, allocations: 1.499 MB / 0.5651 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.158, allocations: 0.6963 MB / 0.5658 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.816e-05/0.1581, allocations: 20.72 kB / 0.5658 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.1581, allocations: 31.42 kB / 0.5659 GB, free: 11.68 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1581, allocations: 0 / 0.5659 GB, free: 11.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1853, allocations: 3.441 MB / 0.5692 GB, free: 8.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.321, allocations: 6.266 kB / 0.5692 GB, free: 8.266 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.373956963885576] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y'] 8.448607999831438 8.469721994 8.321742026 Calling exit ...