Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001293/0.001293, allocations: 109.1 kB / 21.22 MB, free: 0.5078 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.002396/0.002396, allocations: 211.8 kB / 24.51 MB, free: 3.684 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.521/1.521, 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.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.246/0.246, allocations: 46.97 MB / 361.7 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 67.89 kB / 0.4969 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4331, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003382/0.4365, allocations: 1.715 MB / 0.5631 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.4384, allocations: 0.9677 MB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.921e-05/0.4385, allocations: 3.938 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.4389, allocations: 51.75 kB / 0.5641 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.4393, allocations: 103.5 kB / 0.5642 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.4396, allocations: 83.66 kB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.4398, allocations: 103.7 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4399, allocations: 13.81 kB / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.44, allocations: 39.8 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.4401, allocations: 43.72 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.4401, allocations: 4 kB / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4403, allocations: 43.97 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.4403, allocations: 23.92 kB / 0.5645 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.4404, allocations: 35.73 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.4407, allocations: 139.4 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4407, allocations: 0 / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4407, allocations: 0 / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4407, allocations: 0 / 0.5647 GB, free: 0.832 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.0007361/0.4415, allocations: 389.2 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4415, allocations: 8.031 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.551e-05/0.4415, allocations: 192 / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.4416, allocations: 34.75 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.4416, allocations: 16.84 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.442, allocations: 163.3 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.442, allocations: 4.125 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.442, allocations: 4 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4422, allocations: 53.67 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4422, allocations: 0 / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4422, allocations: 4 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4422, allocations: 4 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.4423, allocations: 23.92 kB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.4428, allocations: 275.9 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.443, allocations: 54.67 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.443, allocations: 16.86 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.443, allocations: 3.938 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.4432, allocations: 71.38 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.4432, allocations: 4 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006507/0.4439, allocations: 185.3 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.4439, allocations: 59.41 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.4442, allocations: 278.7 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4443, allocations: 29.7 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.4443, allocations: 116.1 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.4444, allocations: 27.77 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.4444, allocations: 25.72 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4446, allocations: 330.8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.4447, allocations: 27.92 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.4448, allocations: 37.64 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4449, allocations: 61.66 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4449, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002224/0.4451, allocations: 117.5 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4451, allocations: 4 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4451, allocations: 0 / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4451, allocations: 0 / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4453, allocations: 19.98 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4453, allocations: 12.11 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.4453, allocations: 384 / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4453, allocations: 4 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.0001511/0.4455, allocations: 133.8 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.4455, allocations: 15.91 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.4458, allocations: 139 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4458, allocations: 0 / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4458, allocations: 3.938 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4458, allocations: 0 / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.4463, allocations: 382.4 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4463, allocations: 3.984 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.4464, allocations: 11.94 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4464, allocations: 3.938 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4464, allocations: 4 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4464, allocations: 0 / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4464, allocations: 0 / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.4467, allocations: 220.5 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.4467, allocations: 15.84 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.4467, allocations: 4.094 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.4468, allocations: 11.97 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.4469, allocations: 7.984 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4469, allocations: 4 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.4471, 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.4471, allocations: 0 / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.4474, allocations: 31.89 kB / 0.5682 GB, free: 12.93 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.002459/0.4498, allocations: 1.138 MB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.45, allocations: 59.91 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.45, allocations: 0 / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.4501, allocations: 35.92 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4505, allocations: 30.05 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.00219/0.4527, allocations: 1.851 MB / 0.5712 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.4528, allocations: 105.1 kB / 0.5713 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.4528, allocations: 16.97 kB / 0.5714 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.4529, allocations: 43.42 kB / 0.5714 GB, free: 9.746 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4529, allocations: 0 / 0.5714 GB, free: 9.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.4767, allocations: 4.157 MB / 0.5755 GB, free: 5.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.83, allocations: 10.28 kB / 0.5755 GB, free: 5.656 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.037599797942676] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.046152248978615 12.059873621 11.615796691 Calling exit ...