Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.00174/0.00174, 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.002364/0.002364, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2365/0.2365, allocations: 44.91 MB / 359.6 MB, free: 6.262 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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.002626/0.002626, allocations: 59.91 kB / 0.4939 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4858, allocations: 65.46 MB / 0.5578 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003452/0.4892, allocations: 1.753 MB / 0.5596 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.4911, allocations: 1.049 MB / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.4912, allocations: 3.938 kB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.4915, allocations: 47.75 kB / 0.5606 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.4918, allocations: 91.61 kB / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.492, allocations: 79.67 kB / 0.5608 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.4921, allocations: 103.7 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.4922, allocations: 17.95 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.4923, allocations: 47.72 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.4924, allocations: 31.86 kB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.4924, allocations: 4 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.4925, allocations: 43.97 kB / 0.561 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.4926, allocations: 19.92 kB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.4926, allocations: 39.67 kB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.4928, allocations: 127.4 kB / 0.5612 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4928, allocations: 0 / 0.5612 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4928, allocations: 0 / 0.5612 GB, free: 4.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.4928, allocations: 0 / 0.5612 GB, free: 4.27 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.0005157/0.4933, allocations: 357.5 kB / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4934, allocations: 8.031 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.766e-05/0.4934, allocations: 4.188 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.4934, allocations: 30.75 kB / 0.5616 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.4935, allocations: 12.83 kB / 0.5616 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.4937, allocations: 162.2 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4938, allocations: 8.125 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.4938, allocations: 4 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4939, allocations: 53.67 kB / 0.5618 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4939, allocations: 0 / 0.5618 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.494, allocations: 4 kB / 0.5618 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.494, allocations: 0 / 0.5618 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.494, allocations: 19.98 kB / 0.5618 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.4944, allocations: 259.9 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.4946, allocations: 62.61 kB / 0.5622 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.4947, allocations: 12.86 kB / 0.5622 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.4947, allocations: 15.92 kB / 0.5622 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.4949, allocations: 67.38 kB / 0.5622 GB, free: 3.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.4949, allocations: 0 / 0.5622 GB, free: 3.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.4954, allocations: 185.3 kB / 0.5624 GB, free: 2.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.4955, allocations: 55.41 kB / 0.5625 GB, free: 2.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.4957, allocations: 218.6 kB / 0.5627 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4957, allocations: 29.7 kB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.4958, allocations: 104.1 kB / 0.5628 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.4958, allocations: 23.8 kB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.4959, allocations: 29.64 kB / 0.5629 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.496, allocations: 326.8 kB / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.4961, allocations: 16 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.4962, allocations: 37.7 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.4963, allocations: 57.7 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4963, allocations: 0 / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.4965, allocations: 109.5 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4965, allocations: 7.984 kB / 0.5634 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4965, allocations: 4.031 kB / 0.5634 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4965, allocations: 4 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.4966, allocations: 12 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.4966, allocations: 7.875 kB / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.4967, allocations: 4 kB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4967, allocations: 7.922 kB / 0.5634 GB, free: 1.785 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.000109/0.4968, allocations: 125.8 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.4968, allocations: 15.89 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.4971, allocations: 119.2 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4971, allocations: 0 / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4971, allocations: 3.938 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4971, allocations: 0 / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.4975, allocations: 370.4 kB / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4975, allocations: 4 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.4976, allocations: 7.938 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4976, allocations: 7.938 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4976, allocations: 4.031 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4976, allocations: 384 / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.4976, allocations: 7.984 kB / 0.5641 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.4979, allocations: 200.5 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.4979, allocations: 11.89 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4979, allocations: 7.938 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.498, allocations: 4 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.498, allocations: 11.98 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.498, allocations: 7.938 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.4983, allocations: 156.3 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4983, allocations: 0 / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4985, allocations: 27.92 kB / 0.5645 GB, free: 0.6211 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.002161/0.5007, allocations: 1.091 MB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.5009, allocations: 67.89 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5009, allocations: 0 / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.5009, allocations: 23.94 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.5013, allocations: 27.97 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.5032, allocations: 1.692 MB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.5035, allocations: 0.7041 MB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.5036, allocations: 20.58 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.5037, allocations: 39.42 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.5037, allocations: 0 / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.5261, allocations: 3.725 MB / 0.5717 GB, free: 9.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.61, allocations: 6.812 kB / 0.5717 GB, free: 9.352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.796372763987165] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.846398558001965 11.861224417 11.365243685 Calling exit ...