Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001334/0.001334, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001374/0.001374, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.588/1.588, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2528/0.2528, allocations: 46.87 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",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.002341/0.002341, allocations: 81.53 kB / 0.4912 GB, free: 27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 65.98 MB / 0.5557 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003214/0.1226, allocations: 1.605 MB / 0.5572 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1244, allocations: 1.175 MB / 0.5584 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1245, allocations: 4 kB / 0.5584 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1247, allocations: 31.8 kB / 0.5584 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.125, allocations: 79.67 kB / 0.5585 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1254, allocations: 111.4 kB / 0.5586 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1255, allocations: 71.77 kB / 0.5587 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1256, allocations: 12.27 kB / 0.5587 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.1257, allocations: 23.92 kB / 0.5587 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1258, allocations: 35.83 kB / 0.5587 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1258, allocations: 0 / 0.5587 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.126, allocations: 103.9 kB / 0.5588 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.1261, allocations: 15.92 kB / 0.5589 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.1261, allocations: 19.88 kB / 0.5589 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.1263, allocations: 151.4 kB / 0.559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1264, allocations: 0 / 0.559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1264, allocations: 0 / 0.559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1264, allocations: 4 kB / 0.559 GB, free: 5.797 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.0005327/0.1269, allocations: 398.8 kB / 0.5594 GB, free: 5.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1269, allocations: 8.031 kB / 0.5594 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.127, allocations: 46.69 kB / 0.5595 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.127, allocations: 8.891 kB / 0.5595 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1272, allocations: 196.2 kB / 0.5596 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1272, allocations: 384 / 0.5596 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1272, allocations: 384 / 0.5596 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1274, allocations: 71.89 kB / 0.5597 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1274, allocations: 3.938 kB / 0.5597 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1274, allocations: 0 / 0.5597 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1274, allocations: 0 / 0.5597 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.1275, allocations: 27.98 kB / 0.5597 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1279, allocations: 280.9 kB / 0.56 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.1281, allocations: 46.5 kB / 0.5601 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.1282, allocations: 16.94 kB / 0.5601 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1282, allocations: 8 kB / 0.5601 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1283, allocations: 30.56 kB / 0.5601 GB, free: 4.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1283, allocations: 0 / 0.5601 GB, free: 4.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005795/0.1288, allocations: 157.6 kB / 0.5603 GB, free: 4.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.1289, allocations: 85.05 kB / 0.5603 GB, free: 4.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1291, allocations: 149.8 kB / 0.5605 GB, free: 4.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1291, allocations: 25.7 kB / 0.5605 GB, free: 4.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.1292, allocations: 88.14 kB / 0.5606 GB, free: 3.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1292, allocations: 23.84 kB / 0.5606 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1292, allocations: 13.72 kB / 0.5606 GB, free: 3.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1294, allocations: 326.8 kB / 0.5609 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.1294, allocations: 23.98 kB / 0.561 GB, free: 3.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1295, allocations: 33.7 kB / 0.561 GB, free: 3.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1297, allocations: 56.77 kB / 0.5611 GB, free: 3.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1297, allocations: 0 / 0.5611 GB, free: 3.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002067/0.1299, allocations: 89.61 kB / 0.5611 GB, free: 3.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1299, allocations: 5.875 kB / 0.5611 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1299, allocations: 304 / 0.5611 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1299, allocations: 3.984 kB / 0.5611 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.13, allocations: 24.02 kB / 0.5612 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.13, allocations: 0 / 0.5612 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.13, allocations: 7.938 kB / 0.5612 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.13, allocations: 0 / 0.5612 GB, free: 3.332 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.607e-05/0.1301, allocations: 125.7 kB / 0.5613 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.1302, allocations: 11.95 kB / 0.5613 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.1304, allocations: 93.91 kB / 0.5614 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1304, allocations: 8 kB / 0.5614 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1304, allocations: 3.984 kB / 0.5614 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1304, allocations: 0 / 0.5614 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.1309, allocations: 358.4 kB / 0.5618 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1309, allocations: 0 / 0.5618 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.131, allocations: 12 kB / 0.5618 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.131, allocations: 0 / 0.5618 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.131, allocations: 0 / 0.5618 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.131, allocations: 4 kB / 0.5618 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.131, allocations: 7.922 kB / 0.5618 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1312, allocations: 179.5 kB / 0.5619 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.1313, allocations: 89.05 kB / 0.562 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1313, allocations: 0 / 0.562 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.1314, allocations: 4 kB / 0.562 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1314, allocations: 11.92 kB / 0.562 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1314, allocations: 11.94 kB / 0.5621 GB, free: 2.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.131e-05/0.1315, allocations: 103.3 kB / 0.5622 GB, free: 2.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1315, allocations: 0 / 0.5622 GB, free: 2.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1318, allocations: 43.86 kB / 0.5622 GB, free: 2.176 MB / 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.002207/0.134, allocations: 1.11 MB / 0.5633 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1342, allocations: 47.91 kB / 0.5633 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1342, allocations: 0 / 0.5633 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.1343, allocations: 27.97 kB / 0.5634 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1347, allocations: 18.38 kB / 0.5634 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1365, allocations: 1.452 MB / 0.5648 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1368, allocations: 0.6885 MB / 0.5655 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.1369, allocations: 23.98 kB / 0.5655 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.137, allocations: 23.42 kB / 0.5655 GB, free: 14.84 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.137, allocations: 0 / 0.5655 GB, free: 14.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.1635, allocations: 3.284 MB / 0.5687 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.313, allocations: 6.109 kB / 0.5687 GB, free: 11.57 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.418199034873396] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.436389805283397 8.45174729 8.322396634 Calling exit ...