Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001252/0.001252, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001385/0.001385, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2546/0.2546, allocations: 46.94 MB / 361.7 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003246/0.003246, allocations: 67.89 kB / 0.497 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3641, allocations: 66.03 MB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003458/0.3676, allocations: 1.775 MB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3695, allocations: 1.049 MB / 0.5642 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.3696, allocations: 3.938 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.37, allocations: 87.69 kB / 0.5643 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.3703, allocations: 115.6 kB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3705, allocations: 79.67 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.3708, allocations: 127.7 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3709, allocations: 9.953 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.371, allocations: 67.69 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3711, allocations: 63.75 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3711, allocations: 4 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3712, allocations: 55.98 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.3713, allocations: 31.92 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.3714, allocations: 39.72 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3716, allocations: 139.4 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3716, allocations: 0 / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3716, allocations: 0 / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3716, allocations: 4 kB / 0.565 GB, free: 0.7891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006195/0.3723, allocations: 369.3 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3723, allocations: 12.03 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.462e-05/0.3723, allocations: 192 / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.3723, allocations: 38.73 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.3724, allocations: 20.83 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.3727, allocations: 154.8 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3727, allocations: 12.06 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.3727, allocations: 4 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3729, allocations: 57.67 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3729, allocations: 0 / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3729, allocations: 3.984 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3729, allocations: 4 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.373, allocations: 23.98 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.3735, allocations: 275.8 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.3737, allocations: 58.5 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.3738, allocations: 20.97 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3738, allocations: 0 / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.374, allocations: 79.31 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.374, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008346/0.3748, allocations: 249.5 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3749, allocations: 55.41 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3751, allocations: 215.6 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3751, allocations: 33.7 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.3752, allocations: 108.1 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.3752, allocations: 35.8 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.3753, allocations: 29.72 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3754, allocations: 326.8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.3755, allocations: 23.98 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.3756, allocations: 49.69 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3758, allocations: 81.66 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3758, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002342/0.376, allocations: 129.5 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.376, allocations: 4 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.376, allocations: 0 / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.376, allocations: 7.938 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.3761, allocations: 23.92 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3761, allocations: 0 / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.3762, allocations: 8 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3762, allocations: 8.031 kB / 0.5674 GB, free: 14.1 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 (13): * Single equations (assignments): 13 * 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.0001212/0.3763, allocations: 137.8 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3763, allocations: 15.91 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.3766, allocations: 159 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3766, allocations: 3.938 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3766, allocations: 0 / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3767, allocations: 0 / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.3772, allocations: 423.1 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3772, allocations: 0 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.3772, allocations: 12 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.3773, allocations: 0 / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3773, allocations: 8 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3773, allocations: 0 / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3773, allocations: 0 / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3776, allocations: 245.1 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3776, allocations: 11.91 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3776, allocations: 11.94 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.3777, allocations: 3.984 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3777, allocations: 11.97 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3777, allocations: 4 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3779, allocations: 173.1 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.3782, allocations: 31.92 kB / 0.5686 GB, free: 12.78 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: 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 (11): * Single equations (assignments): 9 * 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.002437/0.3806, allocations: 1.18 MB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.3809, allocations: 75.91 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3809, allocations: 0 / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.3809, allocations: 35.92 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3813, allocations: 35.72 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.3836, allocations: 1.82 MB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.3841, allocations: 0.7158 MB / 0.5724 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.3841, allocations: 20.64 kB / 0.5724 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.3842, allocations: 39.42 kB / 0.5725 GB, free: 8.914 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3842, allocations: 0 / 0.5725 GB, free: 8.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.4094, allocations: 4.116 MB / 0.5765 GB, free: 4.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 8 kB / 0.5765 GB, free: 4.879 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.65993443899788] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.790185302030295 11.803712811 11.428990232 Calling exit ...