Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.00177/0.00177, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002142/0.002142, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.65/1.65, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.242/0.242, allocations: 46.89 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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",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.003149/0.003149, allocations: 81.8 kB / 0.4913 GB, free: 26.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1676, allocations: 65.98 MB / 0.5557 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.00462/0.1722, allocations: 1.617 MB / 0.5573 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1738, allocations: 0.5527 MB / 0.5578 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.174, allocations: 4 kB / 0.5578 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1743, allocations: 75.77 kB / 0.5579 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.1747, allocations: 107.6 kB / 0.558 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.175, allocations: 111.2 kB / 0.5581 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1752, allocations: 91.8 kB / 0.5582 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1753, allocations: 11.94 kB / 0.5582 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.1754, allocations: 31.91 kB / 0.5582 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1755, allocations: 67.73 kB / 0.5583 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1755, allocations: 7.938 kB / 0.5583 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1756, allocations: 43.98 kB / 0.5583 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.1757, allocations: 23.91 kB / 0.5584 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.1758, allocations: 31.75 kB / 0.5584 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.176, allocations: 99.58 kB / 0.5585 GB, free: 6.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.176, allocations: 7.984 kB / 0.5585 GB, free: 6.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.176, allocations: 0 / 0.5585 GB, free: 6.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.176, allocations: 0 / 0.5585 GB, free: 6.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006296/0.1766, allocations: 422.6 kB / 0.5589 GB, free: 5.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1767, allocations: 8.031 kB / 0.5589 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.1767, allocations: 34.75 kB / 0.5589 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1768, allocations: 16.84 kB / 0.559 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1771, allocations: 200.8 kB / 0.5591 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1771, allocations: 4.375 kB / 0.5591 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1771, allocations: 4.375 kB / 0.5592 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1773, allocations: 58.23 kB / 0.5592 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1773, allocations: 3.938 kB / 0.5592 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1773, allocations: 0 / 0.5592 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1773, allocations: 0 / 0.5592 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1774, allocations: 31.91 kB / 0.5592 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.178, allocations: 300.8 kB / 0.5595 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1781, allocations: 46.5 kB / 0.5596 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.1782, allocations: 24.88 kB / 0.5596 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.1782, allocations: 0 / 0.5596 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1782, allocations: 34.56 kB / 0.5596 GB, free: 4.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1782, allocations: 0 / 0.5596 GB, free: 4.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001019/0.1792, allocations: 253.6 kB / 0.5599 GB, free: 4.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1793, allocations: 51.41 kB / 0.5599 GB, free: 4.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1796, allocations: 210.4 kB / 0.5601 GB, free: 4.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1796, allocations: 25.7 kB / 0.5601 GB, free: 4.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.1797, allocations: 108.1 kB / 0.5602 GB, free: 4.191 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.1797, allocations: 35.73 kB / 0.5603 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.1798, allocations: 17.72 kB / 0.5603 GB, free: 4.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1799, allocations: 330.8 kB / 0.5606 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.18, allocations: 27.97 kB / 0.5606 GB, free: 3.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.1801, allocations: 27.98 kB / 0.5607 GB, free: 3.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1803, allocations: 80.75 kB / 0.5607 GB, free: 3.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1803, allocations: 8 kB / 0.5608 GB, free: 3.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002388/0.1805, allocations: 117.5 kB / 0.5609 GB, free: 3.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1805, allocations: 4 kB / 0.5609 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1805, allocations: 0 / 0.5609 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1806, allocations: 0 / 0.5609 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1807, allocations: 19.98 kB / 0.5609 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1807, allocations: 0 / 0.5609 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.1807, allocations: 7.984 kB / 0.5609 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1807, allocations: 7.938 kB / 0.5609 GB, free: 3.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001302/0.1809, allocations: 133.8 kB / 0.561 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1809, allocations: 11.91 kB / 0.561 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.1812, allocations: 123 kB / 0.5612 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1812, allocations: 0 / 0.5612 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1812, allocations: 4 kB / 0.5612 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1812, allocations: 0 / 0.5612 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.1819, allocations: 435.2 kB / 0.5616 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1819, allocations: 0 / 0.5616 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.182, allocations: 15.94 kB / 0.5616 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.182, allocations: 4 kB / 0.5616 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.182, allocations: 7.922 kB / 0.5616 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.182, allocations: 480 / 0.5616 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.182, allocations: 0 / 0.5616 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.1823, allocations: 216.3 kB / 0.5618 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.1824, allocations: 85.02 kB / 0.5619 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1824, allocations: 7.938 kB / 0.5619 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1825, allocations: 3.984 kB / 0.5619 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1825, allocations: 11.94 kB / 0.5619 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1825, allocations: 11.98 kB / 0.5619 GB, free: 2.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.1827, allocations: 165.5 kB / 0.5621 GB, free: 2.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1827, allocations: 3.938 kB / 0.5621 GB, free: 2.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.183, allocations: 19.94 kB / 0.5621 GB, free: 2.145 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00227/0.1853, allocations: 1.107 MB / 0.5632 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.1855, allocations: 75.88 kB / 0.5633 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1855, allocations: 0 / 0.5633 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1856, allocations: 39.92 kB / 0.5633 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.186, allocations: 15.98 kB / 0.5633 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.1883, allocations: 1.718 MB / 0.565 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.1887, allocations: 0.7119 MB / 0.5657 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.819e-05/0.1888, allocations: 20.95 kB / 0.5657 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.1889, allocations: 35.42 kB / 0.5657 GB, free: 14.46 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1889, allocations: 0 / 0.5657 GB, free: 14.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.2152, allocations: 3.204 MB / 0.5689 GB, free: 11.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.308, allocations: 2.812 kB / 0.5689 GB, free: 11.32 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.502707925159484] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.43553154496476 8.461681658 8.280506919 Calling exit ...