Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001704/0.001704, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002101/0.002101, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2588/0.2588, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.89 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3518, allocations: 66.02 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003295/0.3551, allocations: 1.753 MB / 0.5632 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.357, allocations: 1.045 MB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.357, allocations: 3.938 kB / 0.5642 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.3573, allocations: 43.78 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.3577, allocations: 99.53 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3579, allocations: 79.66 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.3581, allocations: 99.7 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.3582, allocations: 13.81 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3583, allocations: 51.72 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.3584, allocations: 31.84 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3584, allocations: 4 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3585, allocations: 47.97 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.3585, allocations: 19.92 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.3586, allocations: 35.69 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3588, allocations: 119.5 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3588, allocations: 0 / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3588, allocations: 0 / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.3588, allocations: 3.938 kB / 0.5648 GB, free: 1 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.0005831/0.3594, allocations: 345.6 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3595, allocations: 8.031 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.3595, allocations: 4.188 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.3595, allocations: 38.75 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.3596, allocations: 12.88 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3599, allocations: 162.9 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3599, allocations: 4.125 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3599, allocations: 4 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3601, allocations: 53.67 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3601, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3601, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3601, allocations: 4 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.3602, allocations: 19.98 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.3606, allocations: 256 kB / 0.5657 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.3608, allocations: 58.61 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.3609, allocations: 20.86 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3609, allocations: 0 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.361, allocations: 71.38 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.361, allocations: 0 / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005694/0.3616, allocations: 177.5 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3617, allocations: 59.34 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3619, allocations: 202.2 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3619, allocations: 29.7 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.362, allocations: 100.1 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.362, allocations: 27.78 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.3621, allocations: 25.72 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3622, allocations: 330.7 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.3623, allocations: 23.98 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.3624, allocations: 33.7 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3625, allocations: 57.7 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3625, allocations: 4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.3627, allocations: 101.5 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3627, allocations: 4 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3627, allocations: 4 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3627, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.3628, allocations: 15.98 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3628, allocations: 3.938 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.3629, allocations: 11.97 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3629, allocations: 4 kB / 0.567 GB, free: 14.56 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.0001193/0.363, allocations: 128.5 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.363, allocations: 15.89 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.3633, allocations: 123.2 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3633, allocations: 0 / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3633, allocations: 3.938 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3633, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.3638, allocations: 366.4 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3638, allocations: 0 / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.3638, allocations: 15.92 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3638, allocations: 3.938 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3638, allocations: 4 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3638, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3638, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.3641, allocations: 204.3 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.3641, allocations: 15.83 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3641, allocations: 4 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.3642, allocations: 3.984 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.3643, allocations: 8 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3643, allocations: 7.984 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3644, allocations: 148.2 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3644, allocations: 4 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3647, allocations: 27.92 kB / 0.568 GB, free: 13.41 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.002205/0.3669, allocations: 1.092 MB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3671, allocations: 59.89 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3671, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.3672, allocations: 32.08 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3676, allocations: 29.75 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3696, allocations: 1.658 MB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3699, allocations: 0.7041 MB / 0.5715 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.51e-05/0.37, allocations: 16.97 kB / 0.5716 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.3701, allocations: 35.42 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3701, allocations: 0 / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3933, allocations: 3.666 MB / 0.5752 GB, free: 6.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.64, allocations: 4.812 kB / 0.5752 GB, free: 6.238 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.929280667973217] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.860866967996117 11.877458296 11.515357705 Calling exit ...