Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001268/0.001268, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001444/0.001444, allocations: 216.8 kB / 23 MB, free: 5.609 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.489/1.489, allocations: 230.2 MB / 256.2 MB, free: 8.715 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.2376/0.2376, allocations: 46.9 MB / 359.4 MB, free: 4.961 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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",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.002223/0.002223, allocations: 83.86 kB / 0.4942 GB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3362, allocations: 65.99 MB / 0.5586 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003195/0.3394, allocations: 1.696 MB / 0.5603 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3406, allocations: 0.5966 MB / 0.5608 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.3407, allocations: 0 / 0.5608 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.341, allocations: 71.7 kB / 0.5609 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.3414, allocations: 107.6 kB / 0.561 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.3419, allocations: 179.1 kB / 0.5612 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.342, allocations: 95.73 kB / 0.5613 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3422, allocations: 10.06 kB / 0.5613 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.3422, allocations: 51.83 kB / 0.5613 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3423, allocations: 51.81 kB / 0.5614 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3424, allocations: 4 kB / 0.5614 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3425, allocations: 51.97 kB / 0.5614 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.3425, allocations: 27.86 kB / 0.5615 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.3426, allocations: 47.67 kB / 0.5615 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3428, allocations: 123.4 kB / 0.5616 GB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3428, allocations: 0 / 0.5616 GB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3428, allocations: 0 / 0.5616 GB, free: 2.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3429, allocations: 0 / 0.5616 GB, free: 2.066 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006743/0.3435, allocations: 446.5 kB / 0.5621 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3436, allocations: 15.97 kB / 0.5621 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3436, allocations: 34.73 kB / 0.5621 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.3437, allocations: 16.84 kB / 0.5621 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.3439, allocations: 212.1 kB / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3439, allocations: 384 / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3439, allocations: 4.375 kB / 0.5623 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3441, allocations: 70.22 kB / 0.5624 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3441, allocations: 7.938 kB / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3442, allocations: 0 / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3442, allocations: 4 kB / 0.5624 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.3443, allocations: 43.91 kB / 0.5624 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.3448, allocations: 332.7 kB / 0.5628 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.3451, allocations: 66.58 kB / 0.5628 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.3452, allocations: 24.97 kB / 0.5629 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3452, allocations: 0 / 0.5629 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3453, allocations: 30.56 kB / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3453, allocations: 0 / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.3468, allocations: 436.9 kB / 0.5633 GB, free: 180 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3468, allocations: 51.41 kB / 0.5633 GB, free: 116 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3471, allocations: 227.1 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3471, allocations: 25.7 kB / 0.5636 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.3472, allocations: 108.1 kB / 0.5637 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.3472, allocations: 39.69 kB / 0.5637 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.3473, allocations: 25.72 kB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3474, allocations: 330.8 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3476, allocations: 51.91 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3477, allocations: 56.06 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.348, allocations: 128.9 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.348, allocations: 4 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003549/0.3484, allocations: 165.5 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3484, allocations: 8 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3484, allocations: 0 / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3484, allocations: 0 / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3485, allocations: 31.92 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3486, allocations: 3.938 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.3486, allocations: 15.98 kB / 0.5645 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3486, allocations: 7.938 kB / 0.5645 GB, free: 14.86 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 (11): * Single equations (assignments): 11 * 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.0001303/0.3488, allocations: 129.8 kB / 0.5646 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.3488, allocations: 11.91 kB / 0.5647 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.3493, allocations: 202.9 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3493, allocations: 0.5625 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3493, allocations: 3.938 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3493, allocations: 0 / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.35, allocations: 0.5001 MB / 0.5653 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.35, allocations: 11.94 kB / 0.5654 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.3502, allocations: 31.91 kB / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3502, allocations: 0 / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3502, allocations: 4 kB / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3502, allocations: 0 / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3502, allocations: 0 / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.3506, allocations: 281 kB / 0.5657 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.3507, allocations: 96.94 kB / 0.5657 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3507, allocations: 7.984 kB / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.3508, allocations: 8 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.3509, allocations: 11.98 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3509, allocations: 8 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.351, allocations: 172.3 kB / 0.5659 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.351, allocations: 0 / 0.5659 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000264/0.3513, allocations: 27.94 kB / 0.566 GB, free: 13.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002243/0.3535, allocations: 1.164 MB / 0.5671 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.3539, allocations: 123.8 kB / 0.5672 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3539, allocations: 0 / 0.5672 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3541, allocations: 63.89 kB / 0.5673 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3545, allocations: 23.73 kB / 0.5673 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.3574, allocations: 1.99 MB / 0.5693 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3579, allocations: 0.7238 MB / 0.57 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.358, allocations: 32.52 kB / 0.57 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.747e-05/0.3581, allocations: 43.42 kB / 0.57 GB, free: 9.121 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3581, allocations: 96 / 0.57 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.3847, allocations: 3.632 MB / 0.5736 GB, free: 5.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.516, allocations: 10.89 kB / 0.5736 GB, free: 5.488 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.412198886013357] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.640612106013577 8.656419869 8.310238497 Calling exit ...