Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2208/0.2208, allocations: 46.96 MB / 361.7 MB, free: 4.055 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.91 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3217, allocations: 66.03 MB / 0.5614 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002971/0.3247, allocations: 1.706 MB / 0.5631 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3263, allocations: 0.9793 MB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.3263, allocations: 3.938 kB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3266, allocations: 35.83 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.3269, allocations: 91.56 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3271, allocations: 83.66 kB / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3272, allocations: 103.7 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.3273, allocations: 9.812 kB / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.3274, allocations: 39.8 kB / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.3275, allocations: 43.78 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3275, allocations: 4 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.3276, allocations: 43.97 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.3276, allocations: 19.92 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.3277, allocations: 23.81 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.3279, allocations: 119.5 kB / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3279, allocations: 0 / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3279, allocations: 0 / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.3279, allocations: 4 kB / 0.5646 GB, free: 0.9023 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.0005027/0.3284, allocations: 345.5 kB / 0.565 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3284, allocations: 12.03 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.286e-05/0.3284, allocations: 4.188 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.3285, allocations: 34.73 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.3285, allocations: 12.84 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3287, allocations: 154.3 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3287, allocations: 4.125 kB / 0.5652 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3288, allocations: 4 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3289, allocations: 53.67 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3289, allocations: 0 / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3289, allocations: 0 / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3289, allocations: 8 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.329, allocations: 23.92 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.3294, allocations: 252 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3296, allocations: 58.61 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.3296, allocations: 24.83 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3296, allocations: 7.938 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3298, allocations: 63.39 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3298, allocations: 0 / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005272/0.3303, allocations: 197.3 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3304, allocations: 59.41 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3305, allocations: 187.2 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3306, allocations: 25.7 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.3306, allocations: 104.1 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.3307, allocations: 23.84 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.3307, allocations: 21.72 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3308, allocations: 326.8 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.3309, allocations: 19.98 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.331, allocations: 37.7 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.3311, allocations: 65.64 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3311, allocations: 0 / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.3313, allocations: 109.5 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3313, allocations: 8 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3313, allocations: 0 / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3313, allocations: 0 / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.3314, allocations: 19.92 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3314, allocations: 7.938 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.3314, allocations: 7.969 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3315, allocations: 4 kB / 0.5668 GB, free: 14.45 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.000111/0.3316, allocations: 125.8 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.3316, allocations: 7.953 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3318, allocations: 123 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3319, allocations: 4 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3319, allocations: 3.938 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3319, allocations: 288 / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.3323, allocations: 358.4 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3323, allocations: 8.031 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.3324, allocations: 23.86 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3324, allocations: 3.938 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3324, allocations: 4 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3324, allocations: 240 / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3324, allocations: 0 / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3326, allocations: 216.2 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.3326, allocations: 15.88 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3327, allocations: 4 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.3327, allocations: 4.375 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.3328, allocations: 11.98 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3328, allocations: 4 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3329, allocations: 149.8 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3329, allocations: 0 / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.3332, allocations: 20 kB / 0.5679 GB, free: 13.29 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 (9): * Single equations (assignments): 7 * 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.002187/0.3353, allocations: 1.147 MB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.3355, allocations: 59.91 kB / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3355, allocations: 0 / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.3356, allocations: 27.94 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3359, allocations: 36.28 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3378, allocations: 1.651 MB / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.036e-05/0.3379, allocations: 88.17 kB / 0.5708 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.91e-05/0.3379, allocations: 17.28 kB / 0.5708 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.338, allocations: 35.42 kB / 0.5708 GB, free: 10.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.338, allocations: 0 / 0.5708 GB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3625, allocations: 3.748 MB / 0.5745 GB, free: 6.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.93, allocations: 7.984 kB / 0.5745 GB, free: 6.641 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.911468756035902] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.154899680987 12.184396257 11.851385739 Calling exit ...