Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001273/0.001273, 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.001414/0.001414, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2212/0.2212, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.002116/0.002116, allocations: 67.91 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3115, allocations: 65.46 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003402/0.3149, allocations: 1.71 MB / 0.5595 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3167, allocations: 0.9715 MB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.3168, allocations: 0 / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.3171, allocations: 59.75 kB / 0.5605 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.3175, allocations: 99.55 kB / 0.5606 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.3178, allocations: 79.72 kB / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.318, allocations: 103.6 kB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3181, allocations: 17.81 kB / 0.5608 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.3182, allocations: 39.8 kB / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.3183, allocations: 31.84 kB / 0.5608 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3183, allocations: 4 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3184, allocations: 47.97 kB / 0.5609 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.3185, allocations: 31.8 kB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.3185, allocations: 31.73 kB / 0.5609 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.3188, allocations: 139.4 kB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3188, allocations: 0 / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3188, allocations: 0 / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3188, allocations: 0 / 0.5611 GB, free: 4.164 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.0005973/0.3194, allocations: 385.2 kB / 0.5614 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3194, allocations: 8.031 kB / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.961e-05/0.3194, allocations: 4.188 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.3195, allocations: 34.75 kB / 0.5615 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.3195, allocations: 16.83 kB / 0.5615 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3198, allocations: 163.2 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3198, allocations: 4.125 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3198, allocations: 4 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.32, allocations: 53.67 kB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.32, allocations: 0 / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.32, allocations: 4 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.32, allocations: 4 kB / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.3201, allocations: 19.98 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.3205, allocations: 275.8 kB / 0.562 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3207, allocations: 58.67 kB / 0.5621 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.3208, allocations: 16.86 kB / 0.5621 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3208, allocations: 3.984 kB / 0.5621 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.321, allocations: 67.39 kB / 0.5621 GB, free: 2.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.321, allocations: 4 kB / 0.5621 GB, free: 2.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006552/0.3216, allocations: 189.5 kB / 0.5623 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3217, allocations: 59.41 kB / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.322, allocations: 279.7 kB / 0.5626 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.322, allocations: 33.58 kB / 0.5627 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.3221, allocations: 120.1 kB / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.3221, allocations: 23.8 kB / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.3222, allocations: 25.7 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3223, allocations: 326.8 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.3224, allocations: 23.98 kB / 0.5632 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.3225, allocations: 41.7 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3226, allocations: 61.77 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3226, allocations: 3.984 kB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002125/0.3228, allocations: 109.5 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3228, allocations: 4 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3228, allocations: 0 / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3229, allocations: 0 / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.3229, allocations: 27.86 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.323, allocations: 7.969 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.323, allocations: 4 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.323, allocations: 4 kB / 0.5634 GB, free: 1.531 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.0001283/0.3231, allocations: 137.8 kB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.3232, allocations: 15.91 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.3235, allocations: 127 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3235, allocations: 0 / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3235, allocations: 3.938 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3235, allocations: 3.984 kB / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.324, allocations: 390.4 kB / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.324, allocations: 0 / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.324, allocations: 8 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.324, allocations: 3.938 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.324, allocations: 4 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.324, allocations: 0 / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.324, allocations: 0 / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3243, allocations: 220.4 kB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.3244, allocations: 23.84 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3244, allocations: 0 / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3244, allocations: 4.031 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.3245, allocations: 11.92 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3245, allocations: 8 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.3247, allocations: 204.6 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3247, allocations: 0 / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.325, allocations: 31.89 kB / 0.5646 GB, free: 268 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.00236/0.3274, allocations: 1.143 MB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3276, allocations: 67.89 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3276, allocations: 0 / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.3277, allocations: 27.98 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.328, allocations: 30.73 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3304, allocations: 1.851 MB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3305, allocations: 105.1 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.894e-05/0.3306, allocations: 16.97 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3307, allocations: 39.42 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3307, allocations: 0 / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.3564, allocations: 4.159 MB / 0.5718 GB, free: 8.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.89, allocations: 6.641 kB / 0.5718 GB, free: 8.984 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.849936114973389] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.112868906930089 12.131959536 11.809930459 Calling exit ...