Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001239/0.001239, 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.001364/0.001364, 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.472/1.472, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2486/0.2486, 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",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.00234/0.00234, allocations: 75.88 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1189, allocations: 65.99 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002884/0.1217, allocations: 1.601 MB / 0.5572 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1235, allocations: 1.175 MB / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.1235, allocations: 0 / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.1237, allocations: 31.78 kB / 0.5584 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.124, allocations: 87.62 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1243, allocations: 103.2 kB / 0.5586 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1244, allocations: 75.75 kB / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.1245, allocations: 12 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.1245, allocations: 19.92 kB / 0.5587 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1247, allocations: 39.77 kB / 0.5587 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1247, allocations: 4 kB / 0.5587 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1249, allocations: 95.94 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.1249, allocations: 19.92 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1249, allocations: 19.88 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1252, allocations: 151.4 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1252, allocations: 0 / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1252, allocations: 0 / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1252, allocations: 0 / 0.559 GB, free: 2.984 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.0005627/0.1258, allocations: 402.8 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1258, allocations: 12.03 kB / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.1258, allocations: 34.75 kB / 0.5594 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.1259, allocations: 12.89 kB / 0.5595 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1261, allocations: 197.8 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-06/0.1261, allocations: 384 / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1261, allocations: 8.312 kB / 0.5597 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1263, allocations: 63.95 kB / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1263, allocations: 3.938 kB / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1263, allocations: 0 / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1263, allocations: 4 kB / 0.5597 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.1264, allocations: 23.98 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.1268, allocations: 288.8 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.127, allocations: 46.44 kB / 0.5601 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1271, allocations: 20.94 kB / 0.5601 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1271, allocations: 3.984 kB / 0.5601 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1271, allocations: 34.56 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1271, allocations: 0 / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005538/0.1276, allocations: 153.4 kB / 0.5603 GB, free: 1.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.1277, allocations: 77.11 kB / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1279, allocations: 148.2 kB / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1279, allocations: 29.7 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.128, allocations: 92.14 kB / 0.5606 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.128, allocations: 19.78 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.128, allocations: 25.72 kB / 0.5606 GB, free: 1.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1282, allocations: 318.8 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.1282, allocations: 23.97 kB / 0.561 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.1283, allocations: 41.64 kB / 0.561 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1285, allocations: 48.83 kB / 0.5611 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1285, allocations: 4 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001958/0.1287, allocations: 85.61 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1287, allocations: 7.938 kB / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1287, allocations: 0 / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1287, allocations: 4 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.1288, allocations: 12.23 kB / 0.5612 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1288, allocations: 4.031 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.1288, allocations: 8 kB / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1288, allocations: 3.938 kB / 0.5612 GB, free: 0.5156 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.469e-05/0.1289, allocations: 121.8 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.129, allocations: 7.953 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.1292, allocations: 93.97 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1292, allocations: 4 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1292, allocations: 0 / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1292, allocations: 3.984 kB / 0.5614 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.1297, allocations: 366.4 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1297, allocations: 0 / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.1298, allocations: 8 kB / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1298, allocations: 0 / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1298, allocations: 0 / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1298, allocations: 7.984 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1298, allocations: 11.92 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.13, allocations: 179.4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1301, allocations: 89.05 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1301, allocations: 0 / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.1302, allocations: 4 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1302, allocations: 15.86 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1302, allocations: 4 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.967e-05/0.1303, allocations: 111.3 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1303, allocations: 0 / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.1306, allocations: 39.86 kB / 0.5622 GB, free: 15.36 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.002207/0.1328, allocations: 1.104 MB / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.133, allocations: 51.91 kB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.133, allocations: 0 / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.1331, allocations: 27.97 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1335, allocations: 21.47 kB / 0.5634 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.1352, allocations: 1.444 MB / 0.5648 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1356, allocations: 0.6963 MB / 0.5655 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.1356, allocations: 23.92 kB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.1357, allocations: 27.42 kB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1357, allocations: 0 / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.1658, allocations: 3.28 MB / 0.5687 GB, free: 8.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.528, allocations: 2.109 kB / 0.5687 GB, free: 8.758 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.46101081604138] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.650151383131742 8.665466703 8.537326996 Calling exit ...