Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001332/0.001332, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001406/0.001406, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2413/0.2413, allocations: 44.93 MB / 359.6 MB, free: 6.09 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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.002033/0.002033, allocations: 67.91 kB / 0.4939 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4346, allocations: 65.47 MB / 0.5578 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003515/0.4381, allocations: 1.714 MB / 0.5595 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.44, allocations: 0.9598 MB / 0.5604 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.4401, allocations: 11.94 kB / 0.5604 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.4404, allocations: 43.77 kB / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.4408, allocations: 91.61 kB / 0.5605 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.441, allocations: 79.66 kB / 0.5606 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.4412, allocations: 107.7 kB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.4413, allocations: 13.81 kB / 0.5607 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.4414, allocations: 39.8 kB / 0.5608 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.4415, allocations: 31.78 kB / 0.5608 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.4415, allocations: 12 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4416, allocations: 47.91 kB / 0.5609 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.4417, allocations: 23.92 kB / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.4417, allocations: 23.81 kB / 0.5609 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.442, allocations: 123.5 kB / 0.561 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.442, allocations: 0 / 0.561 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.442, allocations: 0 / 0.561 GB, free: 4.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.442, allocations: 0 / 0.561 GB, free: 4.129 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.0005465/0.4425, allocations: 365.3 kB / 0.5614 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4425, allocations: 12.03 kB / 0.5614 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.329e-05/0.4426, allocations: 8.188 kB / 0.5614 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.4426, allocations: 30.75 kB / 0.5614 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.4426, allocations: 8.891 kB / 0.5614 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.4429, allocations: 154.3 kB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.4429, allocations: 16.12 kB / 0.5616 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.443, allocations: 0 / 0.5616 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.4431, allocations: 57.67 kB / 0.5616 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4431, allocations: 0 / 0.5616 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.4431, allocations: 0 / 0.5616 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4431, allocations: 7.922 kB / 0.5617 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.4432, allocations: 23.98 kB / 0.5617 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.4436, allocations: 255.9 kB / 0.5619 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4438, allocations: 58.67 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.4439, allocations: 20.8 kB / 0.562 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4439, allocations: 4 kB / 0.562 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.4441, allocations: 71.36 kB / 0.5621 GB, free: 2.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.4441, allocations: 0 / 0.5621 GB, free: 2.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006008/0.4447, allocations: 185.3 kB / 0.5622 GB, free: 2.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4447, allocations: 63.41 kB / 0.5623 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.445, allocations: 222.6 kB / 0.5625 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.445, allocations: 25.7 kB / 0.5625 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.4451, allocations: 108.1 kB / 0.5626 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.4451, allocations: 23.84 kB / 0.5627 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.4451, allocations: 17.72 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4453, allocations: 322.8 kB / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.4454, allocations: 23.98 kB / 0.563 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.4454, allocations: 37.7 kB / 0.5631 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4456, allocations: 69.64 kB / 0.5631 GB, free: 1.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4456, allocations: 0 / 0.5631 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.4458, allocations: 113.4 kB / 0.5632 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4458, allocations: 6.656 kB / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4458, allocations: 0 / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4458, allocations: 0 / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.4459, allocations: 20 kB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4459, allocations: 8.109 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.446, allocations: 7.938 kB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.446, allocations: 4.312 kB / 0.5633 GB, free: 1.617 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.000119/0.4461, allocations: 133.9 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.4461, allocations: 11.91 kB / 0.5634 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.4464, allocations: 127.1 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4464, allocations: 0 / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4464, allocations: 7.938 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4464, allocations: 0 / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.4469, allocations: 370.4 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4469, allocations: 0 / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.447, allocations: 19.92 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.447, allocations: 7.969 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.447, allocations: 0 / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.447, allocations: 4 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.447, allocations: 0 / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.4473, allocations: 216.2 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.4473, allocations: 11.89 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4473, allocations: 3.984 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.4474, allocations: 4 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.4475, allocations: 11.98 kB / 0.5642 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4475, allocations: 3.984 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.4477, allocations: 160.3 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4477, allocations: 0 / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.4479, allocations: 24 kB / 0.5643 GB, free: 440 kB / 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 (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.002582/0.4505, allocations: 1.143 MB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.4508, allocations: 63.91 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4508, allocations: 0 / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.4509, allocations: 27.92 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.4514, allocations: 23.98 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.454, allocations: 1.694 MB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.4541, allocations: 104.7 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.4543, allocations: 20.56 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4544, allocations: 35.42 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4544, allocations: 0 / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4791, allocations: 3.88 MB / 0.5712 GB, free: 9.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.83, allocations: 6.75 kB / 0.5712 GB, free: 9.59 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.970401757047512] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.056314295972697 12.081151288 11.635712895 Calling exit ...