Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001584/0.001584, 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.001409/0.001409, allocations: 218 kB / 24.52 MB, free: 3.91 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.2432/0.2432, allocations: 46.96 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] 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.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 59.91 kB / 0.4969 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4431, allocations: 66.05 MB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003736/0.4468, allocations: 1.698 MB / 0.5631 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.4488, allocations: 0.9676 MB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.4488, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.4492, allocations: 55.75 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.4496, allocations: 103.5 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.4498, allocations: 79.67 kB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.4501, allocations: 111.7 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4502, allocations: 5.828 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.4503, allocations: 47.78 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.4504, allocations: 35.78 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.4504, allocations: 4 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4506, allocations: 39.98 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.4507, allocations: 31.86 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.4507, allocations: 39.72 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.451, allocations: 139.4 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.451, allocations: 0 / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.451, allocations: 4 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.451, allocations: 0 / 0.5647 GB, free: 0.8281 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.0007488/0.4518, allocations: 369.3 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.4519, allocations: 12.03 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.229e-05/0.4519, allocations: 4.188 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.4519, allocations: 38.73 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.452, allocations: 16.84 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.4523, allocations: 155.3 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.4524, allocations: 12.06 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.4524, allocations: 4 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4526, allocations: 53.67 kB / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4526, allocations: 0 / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4526, allocations: 4 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4526, allocations: 0 / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4527, allocations: 27.92 kB / 0.5654 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.4532, allocations: 271.9 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.4535, allocations: 62.55 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.4535, allocations: 20.84 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.4536, allocations: 0 / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.4537, allocations: 67.39 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4538, allocations: 0 / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006871/0.4544, allocations: 193.6 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.4545, allocations: 55.41 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.4548, allocations: 286.7 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4549, allocations: 25.7 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.455, allocations: 120.1 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.455, allocations: 23.8 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.4551, allocations: 25.7 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.4553, allocations: 326.8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.4553, allocations: 27.98 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.4554, allocations: 41.7 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4555, allocations: 65.77 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4555, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002192/0.4558, allocations: 109.5 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4558, allocations: 4 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4558, allocations: 4 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4558, allocations: 3.984 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.4559, allocations: 12 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4559, allocations: 3.938 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.456, allocations: 4 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.456, allocations: 12.03 kB / 0.5671 GB, free: 14.2 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.0001327/0.4561, allocations: 140.8 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.4561, allocations: 15.91 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.4564, allocations: 123 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4564, allocations: 4.281 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4564, allocations: 3.938 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4564, allocations: 0 / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.4569, allocations: 382.3 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4569, allocations: 0 / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.457, allocations: 12.03 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.457, allocations: 7.938 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.457, allocations: 4 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.457, allocations: 3.938 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.457, allocations: 4 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.4573, allocations: 216.2 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.4573, allocations: 15.84 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.4573, allocations: 4 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.4574, allocations: 4 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.4575, allocations: 11.97 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4575, allocations: 8 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.4577, allocations: 208.6 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4577, allocations: 0 / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.458, allocations: 27.89 kB / 0.5682 GB, free: 12.94 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.002559/0.4605, allocations: 1.154 MB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.4608, allocations: 63.89 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4608, allocations: 0 / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.4608, allocations: 27.98 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.4612, allocations: 30.27 kB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.4636, allocations: 1.851 MB / 0.5712 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.4637, allocations: 105.1 kB / 0.5713 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.4638, allocations: 8.984 kB / 0.5714 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.4639, allocations: 47.41 kB / 0.5714 GB, free: 9.742 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4639, allocations: 0 / 0.5714 GB, free: 9.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4892, allocations: 4.161 MB / 0.5755 GB, free: 5.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.95, allocations: 0 / 0.5755 GB, free: 5.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.999112650053576] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.17387904599309 12.188742617 11.734509803 Calling exit ...