Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001266/0.001266, 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.001386/0.001386, 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2292/0.2292, allocations: 46.96 MB / 361.7 MB, free: 4.059 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.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.89 kB / 0.4969 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 66.03 MB / 0.5614 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003203/0.3455, allocations: 1.714 MB / 0.5631 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3472, allocations: 0.9742 MB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.3473, allocations: 4 kB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3475, allocations: 39.78 kB / 0.5641 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.3479, allocations: 99.53 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3481, allocations: 83.66 kB / 0.5643 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3482, allocations: 103.8 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.3483, allocations: 9.766 kB / 0.5644 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.3484, allocations: 43.78 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.3485, allocations: 35.84 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3485, allocations: 8 kB / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.3486, allocations: 43.92 kB / 0.5645 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.3486, allocations: 23.91 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.3487, allocations: 27.81 kB / 0.5645 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3489, allocations: 127.4 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3489, allocations: 0 / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3489, allocations: 0 / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3489, allocations: 0 / 0.5647 GB, free: 0.8789 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.0005559/0.3495, allocations: 349.5 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3495, allocations: 12.03 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.155e-05/0.3495, allocations: 192 / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.3496, allocations: 42.69 kB / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.3496, allocations: 12.89 kB / 0.5651 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.3499, allocations: 154.3 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3499, allocations: 4.125 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3499, allocations: 8 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.35, allocations: 49.67 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.35, allocations: 3.938 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3501, allocations: 4 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3501, allocations: 3.984 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.3501, allocations: 23.92 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3505, allocations: 263.9 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3507, allocations: 58.61 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.3508, allocations: 16.86 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3508, allocations: 4 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3509, allocations: 71.31 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3509, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005659/0.3515, allocations: 193.3 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3515, allocations: 59.41 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.3518, allocations: 218.6 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3518, allocations: 25.7 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3519, allocations: 108.1 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.3519, allocations: 23.84 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3519, allocations: 25.72 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3521, allocations: 322.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.3521, allocations: 19.98 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.3522, allocations: 37.7 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3523, allocations: 61.64 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3523, allocations: 4.375 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.3525, allocations: 105.6 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3526, allocations: 4 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3526, allocations: 160 / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3526, allocations: 4 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3527, allocations: 19.94 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3527, allocations: 11.91 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.3528, allocations: 11.94 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3528, allocations: 0 / 0.5669 GB, free: 14.38 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.0001077/0.3529, allocations: 129.9 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3529, allocations: 15.91 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.3532, allocations: 127 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3532, allocations: 0 / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3532, allocations: 3.938 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3532, allocations: 288 / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.3537, allocations: 370.4 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3537, allocations: 4 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.3537, allocations: 15.92 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3537, allocations: 7.969 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3537, allocations: 8 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3537, allocations: 3.938 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3537, allocations: 0 / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.354, allocations: 212.2 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.354, allocations: 11.89 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.3541, allocations: 7.984 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.3541, allocations: 4 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/0.3542, allocations: 7.984 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3542, allocations: 4 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3544, allocations: 164.3 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3544, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3546, allocations: 20 kB / 0.568 GB, free: 13.19 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.002343/0.357, allocations: 1.141 MB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.3572, allocations: 67.89 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3572, allocations: 0 / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.3573, allocations: 27.92 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3576, allocations: 33.55 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3596, allocations: 1.698 MB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.882e-05/0.3597, allocations: 100.7 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.3598, allocations: 16.58 kB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.3599, allocations: 39.42 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3599, allocations: 0 / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3845, allocations: 3.868 MB / 0.5748 GB, free: 6.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 3.938 kB / 0.5748 GB, free: 6.359 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.860676882090047] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.063147042994387 12.080807674 11.728666647 Calling exit ...