Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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: 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.001387/0.001387, 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2352/0.2352, allocations: 44.92 MB / 359.6 MB, free: 6.289 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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.0029/0.0029, allocations: 63.89 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4271, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003669/0.4308, allocations: 1.742 MB / 0.5596 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4328, allocations: 1.049 MB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.4329, allocations: 3.938 kB / 0.5606 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.4333, allocations: 43.83 kB / 0.5606 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.4337, allocations: 111.5 kB / 0.5607 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.4339, allocations: 79.67 kB / 0.5608 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.4341, allocations: 103.7 kB / 0.5609 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4342, allocations: 5.969 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.4343, allocations: 51.72 kB / 0.561 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.4344, allocations: 35.78 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.4344, allocations: 4 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.4346, allocations: 39.98 kB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.4346, allocations: 23.92 kB / 0.5611 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.4347, allocations: 47.66 kB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.4349, allocations: 127.4 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4349, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4349, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.435, allocations: 4 kB / 0.5612 GB, free: 4.301 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.0006108/0.4356, allocations: 365.3 kB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4356, allocations: 8.031 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.447e-05/0.4356, allocations: 4.188 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.4357, allocations: 34.73 kB / 0.5616 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.4357, allocations: 8.891 kB / 0.5616 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.436, allocations: 167.1 kB / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4361, allocations: 4.125 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4361, allocations: 4 kB / 0.5618 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4362, allocations: 57.61 kB / 0.5619 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4363, allocations: 3.938 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4363, allocations: 0 / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.4363, allocations: 0 / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.4364, allocations: 19.98 kB / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.4368, allocations: 271.9 kB / 0.5621 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.437, allocations: 54.62 kB / 0.5622 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.4371, allocations: 20.84 kB / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.4371, allocations: 4 kB / 0.5622 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.4373, allocations: 63.39 kB / 0.5623 GB, free: 3.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4373, allocations: 0 / 0.5623 GB, free: 3.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006374/0.4379, allocations: 185.3 kB / 0.5625 GB, free: 2.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.438, allocations: 55.41 kB / 0.5625 GB, free: 2.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4382, allocations: 238.9 kB / 0.5627 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.4382, allocations: 29.7 kB / 0.5628 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.4383, allocations: 112 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.4384, allocations: 31.77 kB / 0.5629 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.4384, allocations: 29.72 kB / 0.5629 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4386, allocations: 322.8 kB / 0.5632 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.4386, allocations: 24.36 kB / 0.5633 GB, free: 2.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.4387, allocations: 37.64 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.4388, allocations: 61.7 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4388, allocations: 8 kB / 0.5634 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.439, allocations: 101.6 kB / 0.5635 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.439, allocations: 8 kB / 0.5635 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.439, allocations: 0 / 0.5635 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4391, allocations: 0 / 0.5635 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.4392, allocations: 15.98 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4392, allocations: 7.938 kB / 0.5635 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.4392, allocations: 4 kB / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4392, allocations: 4 kB / 0.5635 GB, free: 1.77 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.0001276/0.4394, allocations: 129.9 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.4394, allocations: 23.84 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.4396, allocations: 111 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4396, allocations: 0 / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4397, allocations: 7.938 kB / 0.5638 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4397, allocations: 3.938 kB / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.4402, allocations: 370.4 kB / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4402, allocations: 4.031 kB / 0.5641 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.4402, allocations: 8 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4402, allocations: 7.938 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4402, allocations: 0 / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4402, allocations: 0 / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4402, allocations: 3.984 kB / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4405, allocations: 212.2 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.4405, allocations: 19.84 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.4405, allocations: 0 / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.4406, allocations: 4 kB / 0.5644 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.4407, allocations: 7.984 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.4407, allocations: 4 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.4408, allocations: 175.2 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4408, allocations: 192 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.4411, allocations: 23.94 kB / 0.5646 GB, free: 0.582 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.002293/0.4434, allocations: 1.109 MB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4436, allocations: 51.92 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4436, allocations: 0 / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.4437, allocations: 27.97 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.4441, allocations: 38.52 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4463, allocations: 1.758 MB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4466, allocations: 0.708 MB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.283e-05/0.4467, allocations: 17.27 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.4468, allocations: 43.42 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4468, allocations: 0 / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.471, allocations: 3.832 MB / 0.572 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.58, allocations: 10.5 kB / 0.572 GB, free: 9.117 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.703584602975752] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.791757681989111 11.807210169 11.369091119 Calling exit ...