Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001265/0.001265, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001521/0.001521, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.503/1.503, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.95 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3438, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004033/0.3479, allocations: 1.71 MB / 0.5595 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3499, allocations: 0.9715 MB / 0.5604 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.3499, allocations: 3.938 kB / 0.5604 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.3503, allocations: 35.84 kB / 0.5604 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.3507, allocations: 99.53 kB / 0.5605 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.351, allocations: 87.66 kB / 0.5606 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.3512, allocations: 99.7 kB / 0.5607 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3513, allocations: 14.03 kB / 0.5607 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.3513, allocations: 43.78 kB / 0.5608 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.3514, allocations: 39.78 kB / 0.5608 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3515, allocations: 4 kB / 0.5608 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3516, allocations: 43.97 kB / 0.5609 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.3516, allocations: 27.86 kB / 0.5609 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.3517, allocations: 23.81 kB / 0.5609 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3519, allocations: 123.5 kB / 0.561 GB, free: 4.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3519, allocations: 0 / 0.561 GB, free: 4.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3519, allocations: 0 / 0.561 GB, free: 4.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3519, allocations: 0 / 0.561 GB, free: 4.352 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.0006215/0.3525, allocations: 353.5 kB / 0.5614 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3526, allocations: 19.95 kB / 0.5614 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.092e-05/0.3526, allocations: 192 / 0.5614 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.3527, allocations: 30.75 kB / 0.5614 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.3527, allocations: 20.89 kB / 0.5614 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.353, allocations: 154.3 kB / 0.5616 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.353, allocations: 4.125 kB / 0.5616 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.3531, allocations: 4 kB / 0.5616 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3532, allocations: 53.67 kB / 0.5616 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3532, allocations: 0 / 0.5616 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3532, allocations: 4 kB / 0.5616 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3532, allocations: 0 / 0.5616 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.3533, allocations: 27.91 kB / 0.5617 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.3537, allocations: 263.9 kB / 0.5619 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3539, allocations: 62.66 kB / 0.562 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.354, allocations: 20.86 kB / 0.562 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.354, allocations: 0 / 0.562 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3541, allocations: 75.31 kB / 0.5621 GB, free: 3.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3541, allocations: 0 / 0.5621 GB, free: 3.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005925/0.3547, allocations: 185.3 kB / 0.5622 GB, free: 2.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.3548, allocations: 59.41 kB / 0.5623 GB, free: 2.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.355, allocations: 218.6 kB / 0.5625 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.355, allocations: 33.7 kB / 0.5625 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.3551, allocations: 104.1 kB / 0.5626 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3551, allocations: 23.84 kB / 0.5627 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.3552, allocations: 21.72 kB / 0.5627 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3553, allocations: 326.8 kB / 0.563 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.3554, allocations: 23.98 kB / 0.563 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.3555, allocations: 37.64 kB / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3556, allocations: 61.64 kB / 0.5631 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3556, allocations: 0 / 0.5631 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002153/0.3558, allocations: 117.5 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3558, allocations: 6.656 kB / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3558, allocations: 0 / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3559, allocations: 4 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.356, allocations: 12 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.356, allocations: 8.031 kB / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.356, allocations: 11.98 kB / 0.5633 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.356, allocations: 4 kB / 0.5633 GB, free: 1.84 MB / 398.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.0001231/0.3561, allocations: 121.8 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3562, allocations: 23.92 kB / 0.5634 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3565, allocations: 127 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3565, allocations: 0 / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3565, allocations: 3.938 kB / 0.5635 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3565, allocations: 4 kB / 0.5635 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.357, allocations: 362.4 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.357, allocations: 0 / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.357, allocations: 12.31 kB / 0.5639 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.357, allocations: 3.938 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3571, allocations: 16.02 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3571, allocations: 4 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3571, allocations: 0 / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3573, allocations: 212.2 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.3573, allocations: 11.89 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.3574, allocations: 7.984 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.3574, allocations: 4.375 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.3575, allocations: 7.984 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3575, allocations: 4 kB / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.3577, allocations: 160.3 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 7.938 kB / 0.5643 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3579, allocations: 20 kB / 0.5643 GB, free: 0.6562 MB / 398.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.002372/0.3603, allocations: 1.14 MB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.3605, allocations: 63.91 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3605, allocations: 0 / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.3606, allocations: 35.92 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.361, allocations: 26.98 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.363, allocations: 1.698 MB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.813e-05/0.3631, allocations: 96.73 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.3631, allocations: 16.58 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.3632, allocations: 43.36 kB / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3632, allocations: 0 / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3882, allocations: 3.867 MB / 0.5712 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 10.81 kB / 0.5712 GB, free: 9.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.7985401279293] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.94757108297199 11.977066165 11.619993581 Calling exit ...