Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001413/0.001413, allocations: 109.1 kB / 20.22 MB, free: 1.812 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.001486/0.001486, allocations: 218.6 kB / 23.48 MB, free: 5.254 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.485/1.485, allocations: 230.2 MB / 256.8 MB, free: 8.578 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.235/0.235, allocations: 46.89 MB / 360 MB, free: 4.723 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002498/0.002498, allocations: 75.88 kB / 0.4951 GB, free: 8.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3415, allocations: 65.99 MB / 0.5595 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003071/0.3446, allocations: 1.636 MB / 0.5611 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3457, allocations: 0.5761 MB / 0.5617 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.3457, allocations: 0 / 0.5617 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.3463, allocations: 455.1 kB / 0.5621 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.3468, allocations: 295.3 kB / 0.5624 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.3472, allocations: 170.8 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3475, allocations: 179.6 kB / 0.5627 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3476, allocations: 11.98 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3477, allocations: 107.8 kB / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.348, allocations: 243.5 kB / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.348, allocations: 3.984 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.3481, allocations: 31.92 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3482, allocations: 88.61 kB / 0.5632 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.3483, allocations: 106.9 kB / 0.5633 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.3486, allocations: 264.5 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3486, allocations: 0 / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3486, allocations: 0 / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3487, allocations: 0 / 0.5636 GB, free: 0.8594 MB / 398.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.0008009/0.3495, allocations: 0.6607 MB / 0.5642 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3495, allocations: 12.03 kB / 0.5642 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.3495, allocations: 42.67 kB / 0.5643 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.3496, allocations: 44.66 kB / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3499, allocations: 308.6 kB / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3499, allocations: 384 / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.35, allocations: 384 / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3501, allocations: 62.23 kB / 0.5647 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3501, allocations: 3.938 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3501, allocations: 0 / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3501, allocations: 0 / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3503, allocations: 31.97 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.3508, allocations: 412.7 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3509, allocations: 38.56 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.351, allocations: 24.94 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.351, allocations: 0 / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.351, allocations: 38.55 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.3511, allocations: 0 / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003473/0.3514, allocations: 133.3 kB / 0.5653 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3514, allocations: 55.39 kB / 0.5654 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.3523, allocations: 0.8737 MB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3523, allocations: 25.7 kB / 0.5662 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3525, allocations: 216.1 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3525, allocations: 11.91 kB / 0.5665 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3526, allocations: 21.7 kB / 0.5665 GB, free: 13.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3527, allocations: 358.8 kB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.3528, allocations: 15.98 kB / 0.5668 GB, free: 13.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.3529, allocations: 23.97 kB / 0.5669 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.353, allocations: 44.77 kB / 0.5669 GB, free: 13.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.353, allocations: 4 kB / 0.5669 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002008/0.3532, allocations: 117.2 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3532, allocations: 8 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3532, allocations: 0 / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3532, allocations: 0 / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.3533, allocations: 8 kB / 0.567 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3533, allocations: 3.984 kB / 0.567 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.3534, allocations: 4 kB / 0.567 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3534, allocations: 7.938 kB / 0.567 GB, free: 13.04 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 (3): * Single equations (assignments): 3 * 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.0001943/0.3536, allocations: 217.7 kB / 0.5673 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.3536, allocations: 43.72 kB / 0.5673 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.3539, allocations: 129 kB / 0.5674 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3539, allocations: 4 kB / 0.5674 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3539, allocations: 0 / 0.5674 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3539, allocations: 0 / 0.5674 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3542, allocations: 297.5 kB / 0.5677 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3542, allocations: 4 kB / 0.5677 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.3542, allocations: 8 kB / 0.5677 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3543, allocations: 0 / 0.5677 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3543, allocations: 0 / 0.5677 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3543, allocations: 0 / 0.5677 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.3543, allocations: 7.984 kB / 0.5677 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.3546, allocations: 223.1 kB / 0.5679 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3547, allocations: 112.8 kB / 0.568 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3547, allocations: 0 / 0.568 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.3548, allocations: 7.984 kB / 0.5681 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.3548, allocations: 0 / 0.5681 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3548, allocations: 4 kB / 0.5681 GB, free: 11.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006739/0.3555, allocations: 0.6589 MB / 0.5687 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 0 / 0.5687 GB, free: 11.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.3557, allocations: 19.94 kB / 0.5687 GB, free: 11.23 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 (3): * Single equations (assignments): 3 * 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.001706/0.3574, allocations: 1 MB / 0.5697 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3576, allocations: 43.91 kB / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3576, allocations: 0 / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.625e-05/0.3577, allocations: 19.97 kB / 0.5698 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3581, allocations: 26.25 kB / 0.5698 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.3618, allocations: 3.233 MB / 0.5729 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.3623, allocations: 0.8221 MB / 0.5737 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.3624, allocations: 19.73 kB / 0.5738 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3625, allocations: 111.4 kB / 0.5739 GB, free: 5.941 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3625, allocations: 0 / 0.5739 GB, free: 5.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.3912, allocations: 5.833 MB / 0.5796 GB, free: 116 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.712, allocations: 8 kB / 0.5796 GB, free: 108 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.684447993990034] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'clock1.y', 'clock2.y'] 8.835415489971638 8.849723901 8.498042716 Calling exit ...