Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001562/0.001562, 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.002179/0.002179, 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.548/1.548, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.253/0.253, allocations: 44.92 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 179] 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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.002055/0.002055, allocations: 65.56 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4579, allocations: 65.47 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003871/0.4618, allocations: 1.705 MB / 0.5595 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.4637, allocations: 1.018 MB / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.4638, allocations: 3.938 kB / 0.5605 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.4641, allocations: 59.73 kB / 0.5606 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.4645, allocations: 95.59 kB / 0.5607 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.4647, allocations: 75.67 kB / 0.5607 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.4649, allocations: 111.7 kB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.465, allocations: 4.219 kB / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.4651, allocations: 51.72 kB / 0.5609 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.4653, allocations: 47.77 kB / 0.5609 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4653, allocations: 4 kB / 0.5609 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.4654, allocations: 28 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.4655, allocations: 19.91 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.4655, allocations: 31.8 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.4658, allocations: 101.4 kB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4658, allocations: 3.938 kB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4658, allocations: 4 kB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.4658, allocations: 4 kB / 0.5611 GB, free: 4.395 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007011/0.4665, allocations: 333.6 kB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.4665, allocations: 12.03 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.992e-05/0.4666, allocations: 192 / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.4666, allocations: 34.69 kB / 0.5615 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.4667, allocations: 8.891 kB / 0.5615 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.467, allocations: 154.2 kB / 0.5616 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.467, allocations: 8.125 kB / 0.5617 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.467, allocations: 4 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.4672, allocations: 49.61 kB / 0.5617 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4672, allocations: 0 / 0.5617 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4672, allocations: 4 kB / 0.5617 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4672, allocations: 4 kB / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.4673, allocations: 11.98 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.4675, allocations: 148.8 kB / 0.5619 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.4677, allocations: 58.56 kB / 0.5619 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.4677, allocations: 16.84 kB / 0.5619 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4677, allocations: 4 kB / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.4679, allocations: 67.31 kB / 0.562 GB, free: 3.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.4679, allocations: 0 / 0.562 GB, free: 3.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003127/0.4682, allocations: 97.62 kB / 0.5621 GB, free: 3.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4683, allocations: 55.39 kB / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.4685, allocations: 179.2 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4685, allocations: 25.7 kB / 0.5623 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.4686, allocations: 104.1 kB / 0.5624 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.4686, allocations: 7.953 kB / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.4686, allocations: 25.64 kB / 0.5625 GB, free: 2.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4688, allocations: 322.8 kB / 0.5628 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.4688, allocations: 19.98 kB / 0.5628 GB, free: 2.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.4689, allocations: 29.7 kB / 0.5628 GB, free: 2.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.469, allocations: 41.66 kB / 0.5629 GB, free: 2.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.469, allocations: 0 / 0.5629 GB, free: 2.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.4692, allocations: 97.83 kB / 0.563 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4692, allocations: 4 kB / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4692, allocations: 4.031 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4692, allocations: 0 / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.4693, allocations: 12 kB / 0.563 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4693, allocations: 160 / 0.563 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.4693, allocations: 7.922 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.4694, allocations: 7.984 kB / 0.563 GB, free: 2.266 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 (7): * Single equations (assignments): 7 * 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.0001262/0.4695, allocations: 129.7 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.4695, allocations: 7.953 kB / 0.5631 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.4697, allocations: 98.7 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4697, allocations: 0 / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4697, allocations: 0 / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4697, allocations: 0 / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.4699, allocations: 160.6 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4699, allocations: 0 / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.4699, allocations: 4 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4699, allocations: 0 / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4699, allocations: 3.984 kB / 0.5634 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4699, allocations: 4 kB / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4699, allocations: 0 / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.4702, allocations: 121 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.4702, allocations: 7.953 kB / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.4702, allocations: 0 / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.4702, allocations: 4 kB / 0.5635 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.4703, allocations: 7.984 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.4703, allocations: 0 / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.4704, allocations: 137.8 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4704, allocations: 4 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.4706, allocations: 19.98 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001977/0.4726, allocations: 0.965 MB / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4728, allocations: 35.98 kB / 0.5647 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4728, allocations: 0 / 0.5647 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.4729, allocations: 19.94 kB / 0.5647 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.4731, allocations: 31.53 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.4749, allocations: 1.484 MB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.4753, allocations: 0.7041 MB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.4753, allocations: 12.48 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.4754, allocations: 31.42 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4754, allocations: 3.938 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.4989, allocations: 3.285 MB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.61, allocations: 3.938 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.842599497991614] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.831029836961534 11.858364084 11.38763532 Calling exit ...