Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.001654/0.001654, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.00185/0.00185, allocations: 211 kB / 24.53 MB, free: 4.07 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.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.91 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 80.14 kB / 0.497 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3378, allocations: 66.08 MB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003179/0.3409, allocations: 1.733 MB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.3427, allocations: 1.053 MB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.3428, allocations: 0 / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.3431, allocations: 39.78 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3434, allocations: 99.53 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.3437, allocations: 83.66 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3439, allocations: 111.7 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.344, allocations: 5.969 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3441, allocations: 51.66 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.3442, allocations: 35.84 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3442, allocations: 4 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3443, allocations: 43.97 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.3444, allocations: 19.92 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.3445, allocations: 35.69 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.3447, allocations: 119.5 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3447, allocations: 0 / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3447, allocations: 0 / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3447, allocations: 7.938 kB / 0.5649 GB, free: 0.8047 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005361/0.3453, allocations: 345.6 kB / 0.5652 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3453, allocations: 12.03 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.69e-05/0.3453, allocations: 192 / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.3453, allocations: 34.73 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.3454, allocations: 8.891 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3457, allocations: 166.9 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3457, allocations: 4.375 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3457, allocations: 4.375 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3458, allocations: 57.61 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3459, allocations: 0 / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3459, allocations: 4 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3459, allocations: 0 / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.3459, allocations: 15.98 kB / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.3463, allocations: 260 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.3465, allocations: 58.61 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.3465, allocations: 16.86 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3465, allocations: 7.984 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.3467, allocations: 63.39 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3467, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005383/0.3472, allocations: 181.3 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3473, allocations: 71.33 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3475, allocations: 194.3 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3475, allocations: 29.7 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.3476, allocations: 104.1 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.3476, allocations: 27.78 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.3476, allocations: 17.72 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3478, allocations: 330.8 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.3478, allocations: 23.98 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.3479, allocations: 37.64 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.348, allocations: 62.08 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.348, allocations: 0 / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.3482, allocations: 97.53 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3482, allocations: 14.22 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3482, allocations: 4 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3483, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.3483, allocations: 19.92 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3483, allocations: 4 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.3484, allocations: 4 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3484, allocations: 7.938 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001094/0.3485, allocations: 123.1 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3485, allocations: 15.91 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.3488, allocations: 119 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3488, allocations: 0 / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3488, allocations: 3.938 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3488, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3492, allocations: 362.4 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3492, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.3493, allocations: 15.92 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3493, allocations: 4 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3493, allocations: 7.969 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3493, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3493, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3495, allocations: 204.6 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.3495, allocations: 7.891 kB / 0.5679 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3496, allocations: 15.92 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.3496, allocations: 4 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.3497, allocations: 11.92 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3497, allocations: 4 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.3498, allocations: 144.2 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3498, allocations: 0 / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3501, allocations: 27.92 kB / 0.5681 GB, free: 13.21 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002081/0.3521, allocations: 1.087 MB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.3523, allocations: 67.89 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3523, allocations: 0 / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.3524, allocations: 27.92 kB / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3527, allocations: 31.92 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.3545, allocations: 1.658 MB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.3548, allocations: 0.7079 MB / 0.5716 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.3549, allocations: 17.27 kB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.355, allocations: 35.42 kB / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.355, allocations: 0 / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.3789, allocations: 3.646 MB / 0.5752 GB, free: 6.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.89, allocations: 10.55 kB / 0.5752 GB, free: 6 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.721185677975882] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.096341704018414 11.119391012 10.77073055 Calling exit ...