Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2734/0.2734, allocations: 46.9 MB / 357.4 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 79.88 kB / 0.4913 GB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1866, allocations: 65.99 MB / 0.5557 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00477/0.1914, allocations: 1.733 MB / 0.5574 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.1942, allocations: 1.034 MB / 0.5584 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1943, allocations: 0 / 0.5584 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.1949, allocations: 59.75 kB / 0.5585 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.1953, allocations: 103.5 kB / 0.5586 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1956, allocations: 67.73 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1959, allocations: 115.6 kB / 0.5588 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.196, allocations: 8 kB / 0.5588 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1961, allocations: 43.78 kB / 0.5588 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1963, allocations: 39.84 kB / 0.5589 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1963, allocations: 4 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.1964, allocations: 43.98 kB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1966, allocations: 27.84 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.1966, allocations: 43.69 kB / 0.559 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.197, allocations: 139.3 kB / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.197, allocations: 0 / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.197, allocations: 0 / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.197, allocations: 0 / 0.5591 GB, free: 2.902 MB / 414.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.0009075/0.1979, allocations: 454.3 kB / 0.5595 GB, free: 2.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.198, allocations: 12.03 kB / 0.5596 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.198, allocations: 34.73 kB / 0.5596 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.1981, allocations: 20.84 kB / 0.5596 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.1986, allocations: 217.1 kB / 0.5598 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1986, allocations: 4.312 kB / 0.5598 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.1987, allocations: 8.312 kB / 0.5598 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.1989, allocations: 61.8 kB / 0.5599 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1989, allocations: 0 / 0.5599 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1989, allocations: 0 / 0.5599 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1989, allocations: 4 kB / 0.5599 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.199, allocations: 23.98 kB / 0.5599 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.1996, allocations: 300.8 kB / 0.5602 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1998, allocations: 54.61 kB / 0.5603 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.1999, allocations: 16.86 kB / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1999, allocations: 4 kB / 0.5603 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.2001, allocations: 67.39 kB / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2001, allocations: 0 / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007738/0.2009, allocations: 185.2 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.201, allocations: 51.41 kB / 0.5606 GB, free: 1.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.2014, allocations: 274.8 kB / 0.5608 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2015, allocations: 33.7 kB / 0.5609 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2016, allocations: 112.1 kB / 0.561 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.2016, allocations: 27.78 kB / 0.561 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.2017, allocations: 25.7 kB / 0.561 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.2019, allocations: 330.8 kB / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.202, allocations: 27.92 kB / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.2021, allocations: 37.64 kB / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2023, allocations: 61.78 kB / 0.5615 GB, free: 264 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2023, allocations: 0 / 0.5615 GB, free: 264 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003028/0.2026, allocations: 113.5 kB / 0.5616 GB, free: 144 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2026, allocations: 4 kB / 0.5616 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2026, allocations: 0 / 0.5616 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.2026, allocations: 0 / 0.5616 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.2028, allocations: 16 kB / 0.5616 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2028, allocations: 3.984 kB / 0.5616 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.2029, allocations: 8.031 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2029, allocations: 0 / 0.5616 GB, free: 112 kB / 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.0002128/0.2031, allocations: 145.7 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.2031, allocations: 15.91 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.2032, allocations: 25.39 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2032, allocations: 192 / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2032, allocations: 384 / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2032, allocations: 3.938 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.204, allocations: 419.2 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.204, allocations: 0 / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.204, allocations: 8 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.204, allocations: 0 / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.204, allocations: 0 / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.204, allocations: 7.938 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.204, allocations: 3.984 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2044, allocations: 208.3 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2045, allocations: 89.02 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.2046, allocations: 4 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2047, allocations: 3.938 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.2048, allocations: 11.98 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.2048, allocations: 4 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.2051, allocations: 200.6 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2051, allocations: 4 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.2056, allocations: 27.94 kB / 0.5627 GB, free: 14.84 MB / 430.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.003208/0.2088, allocations: 1.095 MB / 0.5638 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.2091, allocations: 59.91 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2091, allocations: 3.938 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2092, allocations: 23.98 kB / 0.5639 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.2098, allocations: 29.3 kB / 0.5639 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.213, allocations: 1.839 MB / 0.5657 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.2135, allocations: 0.7312 MB / 0.5664 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.2136, allocations: 16.88 kB / 0.5664 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.2137, allocations: 43.42 kB / 0.5665 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2137, allocations: 0 / 0.5665 GB, free: 11.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.25, allocations: 3.824 MB / 0.5702 GB, free: 7.281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.346, allocations: 15.73 kB / 0.5702 GB, free: 7.266 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.584805805236101] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.470018056221306 8.485237005 8.285108898 Calling exit ...