Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001379/0.001379, 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.001489/0.001489, 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2397/0.2397, allocations: 46.93 MB / 361.6 MB, free: 4.246 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.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002879/0.002879, allocations: 67.91 kB / 0.497 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3508, allocations: 66.04 MB / 0.5615 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003161/0.354, allocations: 1.741 MB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3557, allocations: 1.049 MB / 0.5642 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.3558, allocations: 3.938 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.356, allocations: 43.77 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.3563, allocations: 99.53 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.3565, allocations: 79.67 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3567, allocations: 103.7 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.3568, allocations: 5.969 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.3569, allocations: 59.66 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.3569, allocations: 31.84 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3569, allocations: 4 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.357, allocations: 39.98 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.3571, allocations: 19.92 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.3571, allocations: 31.75 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.3573, allocations: 131.4 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3574, allocations: 0 / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3574, allocations: 0 / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.3574, allocations: 3.938 kB / 0.5648 GB, free: 0.957 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.0005213/0.3579, allocations: 345.6 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3579, allocations: 16.02 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.021e-05/0.3579, allocations: 192 / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.358, allocations: 30.75 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.358, allocations: 12.89 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.3582, allocations: 155 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3583, allocations: 4.125 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3583, allocations: 4 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3584, allocations: 61.61 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3584, allocations: 0 / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3584, allocations: 0 / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3584, allocations: 0 / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.3585, allocations: 23.98 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.3589, allocations: 256 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.359, allocations: 62.61 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.3591, allocations: 24.78 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3591, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.3593, allocations: 67.39 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3593, allocations: 0 / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.3598, allocations: 181.3 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3598, allocations: 63.34 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.36, allocations: 194.2 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3601, allocations: 33.7 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.3601, allocations: 100.1 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3602, allocations: 23.8 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.3602, allocations: 25.7 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3604, allocations: 322.8 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.3604, allocations: 20 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.3605, allocations: 41.64 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3606, allocations: 61.77 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3606, allocations: 0 / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.3608, allocations: 105.5 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3608, allocations: 4 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3608, allocations: 3.984 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3608, allocations: 4.031 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.3609, allocations: 16 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3609, allocations: 3.938 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.361, allocations: 8 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.361, allocations: 0 / 0.567 GB, free: 14.52 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.0001182/0.3611, allocations: 132.7 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3611, allocations: 11.91 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.3614, allocations: 111.1 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3614, allocations: 4 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3614, allocations: 7.938 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3614, allocations: 0 / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.3618, allocations: 366.4 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3618, allocations: 0 / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.3619, allocations: 8 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3619, allocations: 3.938 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.3619, allocations: 0 / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3619, allocations: 11.97 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3619, allocations: 192 / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3621, allocations: 200.3 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.3622, allocations: 23.75 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.3622, allocations: 8.359 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.3623, allocations: 4 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3623, allocations: 7.984 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3623, allocations: 8 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3624, allocations: 148.2 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3624, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3627, allocations: 27.94 kB / 0.568 GB, free: 13.37 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.002163/0.3649, allocations: 1.098 MB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.365, allocations: 51.92 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.365, allocations: 8.062 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.3651, allocations: 19.98 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3655, allocations: 31.92 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.3674, allocations: 1.658 MB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3677, allocations: 0.708 MB / 0.5715 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.125e-05/0.3678, allocations: 17.28 kB / 0.5716 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.3678, allocations: 39.42 kB / 0.5716 GB, free: 9.777 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3678, allocations: 0 / 0.5716 GB, free: 9.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.3919, allocations: 3.66 MB / 0.5752 GB, free: 6.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 14.09 kB / 0.5752 GB, free: 6.188 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.696375732019078] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.881305871997029 11.895463096 11.534980227 Calling exit ...