Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001414/0.001414, 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.001602/0.001602, 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.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2425/0.2425, allocations: 46.93 MB / 361.6 MB, free: 4.258 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.91 kB / 0.497 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 66.03 MB / 0.5615 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003484/0.3615, allocations: 1.751 MB / 0.5632 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3635, allocations: 1.049 MB / 0.5642 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.3636, allocations: 3.938 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.3639, allocations: 43.7 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.3643, allocations: 95.59 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3645, allocations: 83.67 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.3647, allocations: 99.75 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3648, allocations: 9.953 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3649, allocations: 55.67 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.595e-05/0.365, allocations: 31.83 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.365, allocations: 4 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-05/0.3651, allocations: 39.98 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.3652, allocations: 19.92 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.3652, allocations: 39.73 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.3654, allocations: 123.4 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3655, allocations: 0 / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3655, allocations: 7.938 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3655, allocations: 0 / 0.5648 GB, free: 0.9648 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.0005836/0.366, allocations: 345.6 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3661, allocations: 8.031 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.357e-05/0.3661, allocations: 192 / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.3661, allocations: 38.75 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3662, allocations: 12.88 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.3665, allocations: 151 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3665, allocations: 8.125 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.3665, allocations: 8 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3667, allocations: 53.61 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3667, allocations: 0 / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3667, allocations: 4 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3667, allocations: 0 / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.3668, allocations: 19.98 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3672, allocations: 264 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3674, allocations: 58.61 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.3674, allocations: 12.86 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3675, allocations: 4 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.3677, allocations: 67.38 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3677, allocations: 4 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005639/0.3682, allocations: 185.2 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.3683, allocations: 55.41 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.3685, allocations: 198.2 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3685, allocations: 29.7 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.3686, allocations: 100.1 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3686, allocations: 27.78 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.3687, allocations: 25.72 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3688, allocations: 326.8 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.3689, allocations: 19.98 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.3689, allocations: 37.64 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3691, allocations: 61.61 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3691, allocations: 0 / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.3693, allocations: 105.5 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3693, allocations: 4 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3693, allocations: 0 / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3693, allocations: 4 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3694, allocations: 19.98 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3694, allocations: 3.938 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.3695, allocations: 4 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.3695, allocations: 3.984 kB / 0.567 GB, free: 14.54 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.0001146/0.3696, allocations: 133.8 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.3696, allocations: 15.91 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3699, allocations: 107.1 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3699, allocations: 4 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3699, allocations: 3.938 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3699, allocations: 0 / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.3704, allocations: 366.6 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3704, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.3704, allocations: 16.02 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3704, allocations: 3.938 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3704, allocations: 8 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3704, allocations: 3.938 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3704, allocations: 0 / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3707, allocations: 204.2 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.3707, allocations: 15.89 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3707, allocations: 4 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.3708, allocations: 8.172 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.3708, allocations: 4.375 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3708, allocations: 15.92 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.371, allocations: 140.2 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3712, allocations: 27.92 kB / 0.568 GB, free: 13.38 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.002254/0.3735, allocations: 1.097 MB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3737, allocations: 55.91 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3737, allocations: 0 / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.3738, allocations: 27.92 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.3742, allocations: 31.27 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.3765, allocations: 1.666 MB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3769, allocations: 0.708 MB / 0.5715 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.3769, allocations: 12.97 kB / 0.5716 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.377, allocations: 35.42 kB / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.377, allocations: 0 / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.4, allocations: 3.658 MB / 0.5752 GB, free: 6.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.56, allocations: 4.812 kB / 0.5752 GB, free: 6.207 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.804645768017508] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.772714964987244 11.800218188 11.429459893 Calling exit ...