Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001384/0.001384, 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.001532/0.001532, 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2216/0.2216, allocations: 44.92 MB / 359.6 MB, free: 6.293 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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.002035/0.002035, allocations: 71.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 65.47 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003166/0.3313, allocations: 1.735 MB / 0.5596 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.333, allocations: 1.049 MB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.3331, allocations: 3.938 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.3334, allocations: 39.77 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.3337, allocations: 95.59 kB / 0.5607 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3339, allocations: 83.67 kB / 0.5608 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3341, allocations: 107.7 kB / 0.5609 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.3342, allocations: 13.75 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.3342, allocations: 43.8 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.414e-05/0.3343, allocations: 35.83 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3343, allocations: 4 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.3344, allocations: 39.98 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.3345, allocations: 15.94 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.3345, allocations: 39.73 kB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3348, allocations: 123.4 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3348, allocations: 0 / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3348, allocations: 4 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3348, allocations: 0 / 0.5612 GB, free: 4.293 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.0005162/0.3353, allocations: 349.6 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3353, allocations: 11.97 kB / 0.5615 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.311e-05/0.3353, allocations: 4.188 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.3354, allocations: 34.75 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3354, allocations: 8.891 kB / 0.5616 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3356, allocations: 154.9 kB / 0.5617 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3357, allocations: 16.12 kB / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3357, allocations: 7.938 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3358, allocations: 49.67 kB / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3358, allocations: 0 / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3359, allocations: 4 kB / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3359, allocations: 4 kB / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/0.3359, allocations: 15.98 kB / 0.5618 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.3363, allocations: 264 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3365, allocations: 58.61 kB / 0.5621 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.3365, allocations: 16.86 kB / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3365, allocations: 0 / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3367, allocations: 67.33 kB / 0.5622 GB, free: 3.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3367, allocations: 4 kB / 0.5622 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.3372, allocations: 177.3 kB / 0.5624 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3373, allocations: 59.41 kB / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3375, allocations: 198.2 kB / 0.5626 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3375, allocations: 25.7 kB / 0.5627 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.3376, allocations: 104.1 kB / 0.5628 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.3376, allocations: 27.78 kB / 0.5628 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.3376, allocations: 17.72 kB / 0.5628 GB, free: 2.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3378, allocations: 330.8 kB / 0.5631 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.3378, allocations: 23.92 kB / 0.5631 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.3379, allocations: 33.7 kB / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.338, allocations: 61.78 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.338, allocations: 0 / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.3382, allocations: 109.5 kB / 0.5633 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3382, allocations: 8 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3382, allocations: 3.984 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3383, allocations: 0 / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.3383, allocations: 19.98 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3384, allocations: 7.938 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.3384, allocations: 192 / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3384, allocations: 4.375 kB / 0.5634 GB, free: 1.852 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.0001134/0.3385, allocations: 136.4 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.3385, allocations: 19.94 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3388, allocations: 107.1 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3388, allocations: 0 / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3388, allocations: 7.938 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3388, allocations: 0 / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.3392, allocations: 362.4 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3392, allocations: 0 / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.3393, allocations: 15.94 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3393, allocations: 7.969 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3393, allocations: 7.984 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3393, allocations: 0 / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3393, allocations: 0 / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.3396, allocations: 200.2 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.3396, allocations: 15.89 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3396, allocations: 8 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.3397, allocations: 3.984 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3397, allocations: 4 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3397, allocations: 8 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.3399, allocations: 144.2 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3399, allocations: 0 / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3401, allocations: 31.86 kB / 0.5644 GB, free: 0.6992 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 (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.002246/0.3424, allocations: 1.095 MB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.3426, allocations: 59.91 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3426, allocations: 3.938 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.3426, allocations: 23.94 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.343, allocations: 34.41 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.345, allocations: 1.658 MB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3454, allocations: 0.708 MB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.3454, allocations: 17.27 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.3455, allocations: 35.42 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3455, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.3683, allocations: 3.661 MB / 0.5715 GB, free: 9.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.73, allocations: 14.92 kB / 0.5716 GB, free: 9.516 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.711559966031928] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.949373726034537 11.971843231 11.632826813 Calling exit ...