Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001539/0.001539, allocations: 112.5 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.001984/0.001984, 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2737/0.2737, allocations: 46.94 MB / 361.7 MB, free: 4.27 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 0.497 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 66.04 MB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003213/0.3655, allocations: 1.749 MB / 0.5632 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3674, allocations: 1.042 MB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.3675, allocations: 3.938 kB / 0.5642 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.3678, allocations: 43.77 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.3681, allocations: 103.5 kB / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.3683, allocations: 71.69 kB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.3685, allocations: 103.7 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3686, allocations: 9.969 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.3687, allocations: 55.66 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.47e-05/0.3688, allocations: 27.84 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3688, allocations: 4 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.3689, allocations: 39.98 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.369, allocations: 23.92 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.369, allocations: 39.73 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.3692, allocations: 115.5 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3692, allocations: 3.938 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3692, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3693, allocations: 0 / 0.5648 GB, free: 1.008 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.0005195/0.3698, allocations: 341.6 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3698, allocations: 8.031 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.182e-05/0.3698, allocations: 4.125 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.3699, allocations: 42.73 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.3699, allocations: 16.84 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.3702, allocations: 146.3 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3702, allocations: 4.125 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3702, allocations: 8 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3703, allocations: 53.61 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3703, allocations: 0 / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3704, allocations: 4 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-06/0.3704, allocations: 0 / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.3704, allocations: 19.98 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.3708, allocations: 256 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.371, allocations: 54.55 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.371, allocations: 20.91 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.371, allocations: 4 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3712, allocations: 75.31 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3712, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005653/0.3718, allocations: 181.3 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3718, allocations: 63.39 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.372, allocations: 175.2 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.372, allocations: 33.7 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.3721, allocations: 100.1 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.3721, allocations: 31.78 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3722, allocations: 17.72 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3723, allocations: 326.8 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.3724, allocations: 19.98 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.3725, allocations: 37.64 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3726, allocations: 65.78 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3726, allocations: 0 / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.3728, allocations: 105.5 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3728, allocations: 8 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3728, allocations: 0 / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3728, allocations: 0 / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.3729, allocations: 12 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3729, allocations: 15.86 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.373, allocations: 4 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.373, allocations: 7.984 kB / 0.567 GB, free: 14.58 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.0001044/0.3731, allocations: 125.8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3731, allocations: 11.95 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.3733, allocations: 111 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3733, allocations: 4 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3734, allocations: 3.938 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3734, allocations: 3.984 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.3738, allocations: 362.4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3738, allocations: 4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.3738, allocations: 4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3738, allocations: 7.938 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3738, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3739, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3739, allocations: 7.938 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3741, allocations: 204.4 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.3741, allocations: 12.03 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3741, allocations: 8 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.3742, allocations: 4.312 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.3742, allocations: 7.984 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3743, allocations: 8 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.3744, allocations: 141.8 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3744, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3746, allocations: 23.94 kB / 0.568 GB, free: 13.45 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.002129/0.3768, allocations: 1.096 MB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3769, allocations: 55.91 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3769, allocations: 0 / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.377, allocations: 23.98 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.3774, allocations: 27.92 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.3791, allocations: 1.649 MB / 0.5708 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3795, allocations: 0.7079 MB / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.185e-05/0.3795, allocations: 21.27 kB / 0.5715 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.3796, allocations: 31.42 kB / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3796, allocations: 0 / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.4026, allocations: 3.603 MB / 0.575 GB, free: 6.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.49, allocations: 7.688 kB / 0.5751 GB, free: 6.359 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.650945115019567] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.705512516957242 11.722557732 11.349856573 Calling exit ...