Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.00183/0.00183, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002098/0.002098, allocations: 214.4 kB / 24.51 MB, free: 3.945 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.605/1.605, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.249/0.249, allocations: 46.96 MB / 361.7 MB, free: 4.031 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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.91 kB / 0.4969 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 66.02 MB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003269/0.3499, allocations: 1.718 MB / 0.5631 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3526, allocations: 1.668 MB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.3526, allocations: 0 / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3529, allocations: 35.77 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.3533, allocations: 99.59 kB / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3535, allocations: 83.66 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3536, allocations: 103.6 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.3537, allocations: 13.81 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.3538, allocations: 47.78 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3539, allocations: 39.78 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.354, allocations: 8 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.3541, allocations: 107.9 kB / 0.5652 GB, free: 292 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.3542, allocations: 23.91 kB / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.3543, allocations: 27.86 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3546, allocations: 171.4 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3546, allocations: 0 / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3546, allocations: 0 / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3546, allocations: 0 / 0.5654 GB, free: 68 kB / 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.0005731/0.3551, allocations: 349.6 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3552, allocations: 8.031 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.3552, allocations: 8.188 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.3552, allocations: 38.73 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3553, allocations: 12.84 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.3556, allocations: 156.2 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3556, allocations: 0 / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3556, allocations: 4 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3558, allocations: 101 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3558, allocations: 3.984 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3558, allocations: 0 / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3558, allocations: 0 / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.3559, allocations: 23.98 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.3563, allocations: 259.9 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3565, allocations: 62.61 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.3565, allocations: 20.8 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3565, allocations: 3.984 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3567, allocations: 67.39 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3567, allocations: 0 / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.3573, allocations: 185.3 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3573, allocations: 77.11 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3575, allocations: 172.1 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3575, allocations: 25.7 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.3576, allocations: 96.12 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.3576, allocations: 31.73 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.3577, allocations: 29.7 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3578, allocations: 322.8 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.3579, allocations: 23.98 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.358, allocations: 72.2 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3581, allocations: 61.7 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3581, allocations: 4.031 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.3583, allocations: 93.58 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3583, allocations: 8 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3583, allocations: 0 / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3584, allocations: 3.938 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.3584, allocations: 15.98 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3585, allocations: 4 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.3585, allocations: 4 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3585, allocations: 4 kB / 0.5677 GB, free: 13.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.0001093/0.3586, allocations: 137.7 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3587, allocations: 7.953 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.3589, allocations: 118.3 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3589, allocations: 3.938 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3589, allocations: 288 / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3589, allocations: 0 / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.3594, allocations: 378.5 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3594, allocations: 4.312 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.3595, allocations: 11.98 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3595, allocations: 4.031 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3595, allocations: 8 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3595, allocations: 0 / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3595, allocations: 4.016 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.3598, allocations: 228.2 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.3598, allocations: 7.953 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.3598, allocations: 4 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.3599, allocations: 4 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3599, allocations: 7.984 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.36, allocations: 4 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.3601, allocations: 134.9 kB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3601, allocations: 0 / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3604, allocations: 51.83 kB / 0.5688 GB, free: 12.34 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 (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.002629/0.363, allocations: 1.231 MB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3632, allocations: 71.88 kB / 0.57 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.3632, allocations: 4 kB / 0.57 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.3633, allocations: 27.92 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3637, allocations: 30.48 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3656, allocations: 1.597 MB / 0.5717 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.716e-05/0.3657, allocations: 89.44 kB / 0.5717 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.3657, allocations: 16.97 kB / 0.5718 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3658, allocations: 35.36 kB / 0.5718 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3658, allocations: 0 / 0.5718 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.3918, allocations: 4.408 MB / 0.5761 GB, free: 5.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 10.11 kB / 0.5761 GB, free: 4.996 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.97095397207886] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.932221157941967 11.961062458 11.601107679 Calling exit ...