Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001845/0.001845, allocations: 118.6 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.002529/0.002529, allocations: 218.6 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.495/1.495, 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.2467/0.2467, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",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.00221/0.00221, allocations: 79.86 kB / 0.4912 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1317, allocations: 65.99 MB / 0.5557 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003257/0.135, allocations: 1.595 MB / 0.5572 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1361, allocations: 0.5488 MB / 0.5578 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.1361, allocations: 0 / 0.5578 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.1363, allocations: 27.84 kB / 0.5578 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1366, allocations: 79.61 kB / 0.5579 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1369, allocations: 115.2 kB / 0.558 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.1371, allocations: 63.83 kB / 0.5581 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1372, allocations: 8 kB / 0.5581 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.1372, allocations: 31.84 kB / 0.5581 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.1373, allocations: 19.86 kB / 0.5581 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1373, allocations: 4 kB / 0.5581 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.1374, allocations: 32 kB / 0.5581 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.1375, allocations: 15.91 kB / 0.5582 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.1375, allocations: 23.81 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1377, allocations: 83.66 kB / 0.5583 GB, free: 3.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1377, allocations: 4 kB / 0.5583 GB, free: 3.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1377, allocations: 3.938 kB / 0.5583 GB, free: 3.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1377, allocations: 0 / 0.5583 GB, free: 3.742 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.0005569/0.1383, allocations: 390.9 kB / 0.5586 GB, free: 3.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1383, allocations: 8.031 kB / 0.5587 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1383, allocations: 34.75 kB / 0.5587 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1384, allocations: 8.891 kB / 0.5587 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1386, allocations: 200.2 kB / 0.5589 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1386, allocations: 384 / 0.5589 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1386, allocations: 4.375 kB / 0.5589 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1388, allocations: 50.25 kB / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1388, allocations: 7.875 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1388, allocations: 4 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1388, allocations: 0 / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1389, allocations: 31.91 kB / 0.559 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1393, allocations: 280.9 kB / 0.5592 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1395, allocations: 46.55 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.1396, allocations: 16.86 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1396, allocations: 0 / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1396, allocations: 38.58 kB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1396, allocations: 0 / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005667/0.1402, allocations: 161.3 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1402, allocations: 51.41 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1404, allocations: 160.6 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1404, allocations: 29.7 kB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.1405, allocations: 92.14 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1405, allocations: 23.78 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.1406, allocations: 17.72 kB / 0.5599 GB, free: 1.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1408, allocations: 330.8 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.1408, allocations: 19.98 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.1409, allocations: 19.98 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.141, allocations: 48.83 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.141, allocations: 4 kB / 0.5603 GB, free: 1.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.1412, allocations: 93.55 kB / 0.5603 GB, free: 1.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1412, allocations: 4 kB / 0.5604 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1412, allocations: 0 / 0.5604 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1413, allocations: 4 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.1413, allocations: 11.98 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1413, allocations: 0 / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.1414, allocations: 4 kB / 0.5604 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1414, allocations: 3.938 kB / 0.5604 GB, free: 1.352 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 0.0001154/0.1415, allocations: 125.8 kB / 0.5605 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1415, allocations: 8.203 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.1418, allocations: 109.8 kB / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1418, allocations: 288 / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1418, allocations: 0 / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1418, allocations: 0 / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.1423, allocations: 358.5 kB / 0.5609 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1423, allocations: 7.984 kB / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.1424, allocations: 11.98 kB / 0.561 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1424, allocations: 0 / 0.561 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1424, allocations: 4 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1424, allocations: 11.88 kB / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1424, allocations: 3.938 kB / 0.561 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1426, allocations: 179.5 kB / 0.5612 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.1427, allocations: 85.06 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1427, allocations: 0 / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.1428, allocations: 7.938 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.1428, allocations: 11.98 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1428, allocations: 0 / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1429, allocations: 126.4 kB / 0.5614 GB, free: 220 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1429, allocations: 0 / 0.5614 GB, free: 220 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1432, allocations: 19.89 kB / 0.5614 GB, free: 200 kB / 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: 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.001977/0.1451, allocations: 1.017 MB / 0.5624 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1453, allocations: 55.95 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1453, allocations: 0 / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.1454, allocations: 31.92 kB / 0.5625 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1458, allocations: 15.92 kB / 0.5625 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1476, allocations: 1.484 MB / 0.5639 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1479, allocations: 0.7001 MB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.148, allocations: 19.77 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.1481, allocations: 23.42 kB / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1481, allocations: 0 / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.173, allocations: 2.658 MB / 0.5673 GB, free: 10.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.303, allocations: 16.84 kB / 0.5673 GB, free: 10.25 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.332606592681259] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.425949214026332 8.441278802 8.300511728 Calling exit ...