Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001274/0.001274, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.00147/0.00147, allocations: 219 kB / 23 MB, free: 5.609 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.51/1.51, allocations: 230.2 MB / 256.2 MB, free: 8.688 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.2709/0.2709, allocations: 46.88 MB / 359.4 MB, free: 4.934 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-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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",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.003285/0.003285, allocations: 83.86 kB / 0.4942 GB, free: 8.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3706, allocations: 65.99 MB / 0.5586 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002951/0.3736, allocations: 1.609 MB / 0.5602 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3755, allocations: 1.227 MB / 0.5614 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.3755, allocations: 3.938 kB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3757, allocations: 27.84 kB / 0.5614 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.376, allocations: 83.62 kB / 0.5615 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3762, allocations: 95.19 kB / 0.5616 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3764, allocations: 67.83 kB / 0.5616 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3765, allocations: 9.828 kB / 0.5616 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.3766, allocations: 23.91 kB / 0.5617 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3767, allocations: 39.78 kB / 0.5617 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3767, allocations: 4 kB / 0.5617 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3769, allocations: 91.94 kB / 0.5618 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.377, allocations: 23.91 kB / 0.5618 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.377, allocations: 23.88 kB / 0.5618 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3773, allocations: 143.4 kB / 0.562 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3773, allocations: 0 / 0.562 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3773, allocations: 0 / 0.562 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3773, allocations: 0 / 0.562 GB, free: 1.684 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00057/0.3779, allocations: 402.8 kB / 0.5624 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3779, allocations: 8.031 kB / 0.5624 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.378, allocations: 38.73 kB / 0.5624 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.378, allocations: 12.83 kB / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3782, allocations: 192.2 kB / 0.5626 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3782, allocations: 12.31 kB / 0.5626 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3782, allocations: 4.375 kB / 0.5626 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3784, allocations: 59.91 kB / 0.5627 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3784, allocations: 3.938 kB / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3784, allocations: 4 kB / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3784, allocations: 0 / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.227e-05/0.3785, allocations: 23.97 kB / 0.5627 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3789, allocations: 280.8 kB / 0.563 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.3791, allocations: 38.56 kB / 0.563 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.3792, allocations: 20.94 kB / 0.563 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3792, allocations: 0 / 0.563 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3792, allocations: 34.56 kB / 0.5631 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3792, allocations: 0 / 0.5631 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005636/0.3798, allocations: 137.4 kB / 0.5632 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3798, allocations: 81.09 kB / 0.5633 GB, free: 156 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.38, allocations: 141.8 kB / 0.5634 GB, free: 4 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.38, allocations: 25.7 kB / 0.5634 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.3801, allocations: 100.1 kB / 0.5635 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.3801, allocations: 23.84 kB / 0.5636 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3802, allocations: 17.72 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3803, allocations: 322.8 kB / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.3804, allocations: 15.98 kB / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.3805, allocations: 33.83 kB / 0.5639 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3806, allocations: 56.86 kB / 0.564 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3806, allocations: 0 / 0.564 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001968/0.3808, allocations: 77.62 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3808, allocations: 6.5 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3808, allocations: 3.984 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3809, allocations: 4 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.3809, allocations: 11.98 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3809, allocations: 3.938 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.381, allocations: 12 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.381, allocations: 7.922 kB / 0.5641 GB, free: 15.26 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 (5): * Single equations (assignments): 5 * 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 9.794e-05/0.3811, allocations: 117.8 kB / 0.5642 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.3811, allocations: 7.953 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.3814, allocations: 86.25 kB / 0.5643 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3814, allocations: 0 / 0.5643 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3814, allocations: 3.984 kB / 0.5643 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3814, allocations: 4 kB / 0.5643 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.3819, allocations: 358.4 kB / 0.5647 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3819, allocations: 4 kB / 0.5647 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.3819, allocations: 8 kB / 0.5647 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3819, allocations: 0 / 0.5647 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3819, allocations: 8.172 kB / 0.5647 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.382, allocations: 7.938 kB / 0.5647 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.382, allocations: 7.938 kB / 0.5647 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3822, allocations: 179.4 kB / 0.5649 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3823, allocations: 81.06 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3823, allocations: 3.984 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.3823, allocations: 4 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3824, allocations: 7.938 kB / 0.5649 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3824, allocations: 0 / 0.5649 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.3825, allocations: 119.2 kB / 0.5651 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3825, allocations: 0 / 0.5651 GB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3828, allocations: 39.86 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002096/0.3849, allocations: 1.089 MB / 0.5662 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3851, allocations: 47.97 kB / 0.5662 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3851, allocations: 0 / 0.5662 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.3852, allocations: 23.98 kB / 0.5662 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3855, allocations: 31.47 kB / 0.5663 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3873, allocations: 1.432 MB / 0.5677 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3877, allocations: 0.6963 MB / 0.5683 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.706e-05/0.3878, allocations: 12.03 kB / 0.5684 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.3878, allocations: 31.41 kB / 0.5684 GB, free: 10.81 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3878, allocations: 0 / 0.5684 GB, free: 10.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.4138, allocations: 3.227 MB / 0.5715 GB, free: 7.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.512, allocations: 7.922 kB / 0.5715 GB, free: 7.555 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.5599310619873] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.639806571998633 8.66227592 8.281907665 Calling exit ...