Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001772/0.001772, 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.002294/0.002294, 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.515/1.515, 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.2323/0.2323, allocations: 46.88 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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",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.002246/0.002246, allocations: 77.03 kB / 0.4912 GB, free: 26.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.128, allocations: 65.99 MB / 0.5557 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.0042/0.1322, allocations: 1.62 MB / 0.5573 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1335, allocations: 0.5489 MB / 0.5578 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.1335, allocations: 4 kB / 0.5578 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.1339, allocations: 111.7 kB / 0.5579 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1344, allocations: 115.6 kB / 0.558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.1347, allocations: 119.4 kB / 0.5581 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1349, allocations: 91.73 kB / 0.5582 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1351, allocations: 15.94 kB / 0.5582 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.1352, allocations: 39.89 kB / 0.5583 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1353, allocations: 79.78 kB / 0.5584 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1353, allocations: 3.938 kB / 0.5584 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1354, allocations: 47.98 kB / 0.5584 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.1355, allocations: 27.84 kB / 0.5584 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.1356, allocations: 39.69 kB / 0.5585 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1359, allocations: 111.5 kB / 0.5586 GB, free: 6.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1359, allocations: 0 / 0.5586 GB, free: 6.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1359, allocations: 0 / 0.5586 GB, free: 6.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1359, allocations: 4 kB / 0.5586 GB, free: 6.125 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.0006775/0.1366, allocations: 434.5 kB / 0.559 GB, free: 5.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1366, allocations: 12.03 kB / 0.559 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.1367, allocations: 30.75 kB / 0.559 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.1367, allocations: 12.89 kB / 0.559 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.137, allocations: 216.8 kB / 0.5592 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.137, allocations: 4.375 kB / 0.5593 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.137, allocations: 4.375 kB / 0.5593 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1372, allocations: 50.23 kB / 0.5593 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1372, allocations: 15.89 kB / 0.5593 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1372, allocations: 0 / 0.5593 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1372, allocations: 4 kB / 0.5593 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1373, allocations: 27.97 kB / 0.5594 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.1378, allocations: 304.8 kB / 0.5596 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1379, allocations: 38.56 kB / 0.5597 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.138, allocations: 24.94 kB / 0.5597 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.138, allocations: 11.98 kB / 0.5597 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1381, allocations: 30.56 kB / 0.5597 GB, free: 4.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1381, allocations: 0 / 0.5597 GB, free: 4.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000929/0.139, allocations: 249.2 kB / 0.56 GB, free: 4.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.139, allocations: 59.34 kB / 0.56 GB, free: 4.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1395, allocations: 258.1 kB / 0.5603 GB, free: 4.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1395, allocations: 29.64 kB / 0.5603 GB, free: 4.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.1396, allocations: 108.1 kB / 0.5604 GB, free: 4.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1396, allocations: 23.75 kB / 0.5604 GB, free: 4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1397, allocations: 29.7 kB / 0.5605 GB, free: 3.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.1399, allocations: 326.8 kB / 0.5608 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.14, allocations: 31.98 kB / 0.5608 GB, free: 3.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.14, allocations: 27.97 kB / 0.5608 GB, free: 3.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1402, allocations: 76.81 kB / 0.5609 GB, free: 3.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1402, allocations: 0 / 0.5609 GB, free: 3.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002514/0.1405, allocations: 121.5 kB / 0.561 GB, free: 3.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1405, allocations: 4 kB / 0.561 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1405, allocations: 4 kB / 0.561 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1405, allocations: 0 / 0.561 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1406, allocations: 23.92 kB / 0.5611 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1406, allocations: 320 / 0.5611 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.1407, allocations: 4 kB / 0.5611 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1407, allocations: 3.938 kB / 0.5611 GB, free: 3.336 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.0001324/0.1408, allocations: 133.8 kB / 0.5612 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1409, allocations: 15.89 kB / 0.5612 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.1412, allocations: 143 kB / 0.5613 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1412, allocations: 0 / 0.5613 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1412, allocations: 0 / 0.5613 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1412, allocations: 0 / 0.5613 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.1418, allocations: 435.2 kB / 0.5618 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1418, allocations: 0 / 0.5618 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.1419, allocations: 20.02 kB / 0.5618 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1419, allocations: 4 kB / 0.5618 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1419, allocations: 3.938 kB / 0.5618 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1419, allocations: 0 / 0.5618 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1419, allocations: 0 / 0.5618 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1422, allocations: 216.2 kB / 0.562 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.1423, allocations: 97.05 kB / 0.5621 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1423, allocations: 3.938 kB / 0.5621 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.1424, allocations: 8 kB / 0.5621 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.1424, allocations: 7.984 kB / 0.5621 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1424, allocations: 3.938 kB / 0.5621 GB, free: 2.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.1427, allocations: 188.4 kB / 0.5623 GB, free: 1.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1427, allocations: 0 / 0.5623 GB, free: 1.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.143, allocations: 23.94 kB / 0.5623 GB, free: 1.941 MB / 414.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.002352/0.1453, allocations: 1.106 MB / 0.5634 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1456, allocations: 67.94 kB / 0.5635 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1456, allocations: 0 / 0.5635 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1457, allocations: 43.91 kB / 0.5635 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1461, allocations: 21.94 kB / 0.5635 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.1485, allocations: 1.81 MB / 0.5653 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.1489, allocations: 0.7197 MB / 0.566 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.143e-05/0.149, allocations: 20.66 kB / 0.566 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.149, allocations: 39.42 kB / 0.566 GB, free: 14.14 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.149, allocations: 0 / 0.566 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.1757, allocations: 3.359 MB / 0.5693 GB, free: 10.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.366, allocations: 5.906 kB / 0.5693 GB, free: 10.85 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.420876419171691] 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.493106692098081 8.520883023 8.379909242 Calling exit ...