Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001702/0.001702, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002056/0.002056, allocations: 221.2 kB / 23 MB, free: 5.582 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.541/1.541, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.2452/0.2452, allocations: 46.89 MB / 359.4 MB, free: 4.914 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",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.002464/0.002464, allocations: 87.86 kB / 0.4942 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3665, allocations: 65.97 MB / 0.5586 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003161/0.3697, allocations: 1.617 MB / 0.5602 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3708, allocations: 0.5381 MB / 0.5607 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.3709, allocations: 0 / 0.5607 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3711, allocations: 31.77 kB / 0.5607 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.3714, allocations: 71.7 kB / 0.5608 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3717, allocations: 91.69 kB / 0.5609 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3718, allocations: 75.7 kB / 0.561 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3719, allocations: 17.8 kB / 0.561 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.372, allocations: 19.92 kB / 0.561 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.3721, allocations: 23.86 kB / 0.561 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3721, allocations: 0 / 0.561 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.3722, allocations: 32 kB / 0.561 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.3722, allocations: 19.91 kB / 0.5611 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.3723, allocations: 15.88 kB / 0.5611 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3725, allocations: 87.53 kB / 0.5612 GB, free: 2.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3725, allocations: 8 kB / 0.5612 GB, free: 2.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3725, allocations: 0 / 0.5612 GB, free: 2.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3725, allocations: 0 / 0.5612 GB, free: 2.504 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.0005694/0.373, allocations: 383 kB / 0.5615 GB, free: 2.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3731, allocations: 8.031 kB / 0.5615 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.3731, allocations: 38.73 kB / 0.5616 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.3732, allocations: 8.891 kB / 0.5616 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3734, allocations: 184.3 kB / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3734, allocations: 384 / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3735, allocations: 4.375 kB / 0.5618 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3736, allocations: 58.17 kB / 0.5618 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3736, allocations: 3.938 kB / 0.5618 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.3736, allocations: 0 / 0.5618 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3736, allocations: 0 / 0.5618 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.3737, allocations: 23.98 kB / 0.5618 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.3741, allocations: 276.8 kB / 0.5621 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3743, allocations: 46.5 kB / 0.5622 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.3744, allocations: 20.94 kB / 0.5622 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3744, allocations: 0 / 0.5622 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3744, allocations: 34.56 kB / 0.5622 GB, free: 1.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3744, allocations: 0 / 0.5622 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005998/0.375, allocations: 145.4 kB / 0.5623 GB, free: 1.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.3751, allocations: 55.41 kB / 0.5624 GB, free: 1.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3753, allocations: 146.2 kB / 0.5625 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3753, allocations: 25.7 kB / 0.5626 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.3754, allocations: 100.1 kB / 0.5627 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3754, allocations: 19.86 kB / 0.5627 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3755, allocations: 13.72 kB / 0.5627 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3756, allocations: 326.8 kB / 0.563 GB, free: 400 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.3757, allocations: 19.98 kB / 0.563 GB, free: 380 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.3758, allocations: 19.98 kB / 0.563 GB, free: 360 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3759, allocations: 40.83 kB / 0.5631 GB, free: 316 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3759, allocations: 0 / 0.5631 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.3761, allocations: 93.5 kB / 0.5632 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3761, allocations: 6.5 kB / 0.5632 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3761, allocations: 4 kB / 0.5632 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3761, allocations: 0 / 0.5632 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.3762, allocations: 11.98 kB / 0.5632 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3762, allocations: 0 / 0.5632 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.3762, allocations: 7.984 kB / 0.5632 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3762, allocations: 0 / 0.5632 GB, free: 188 kB / 398.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 0.000118/0.3764, allocations: 125.8 kB / 0.5633 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.3764, allocations: 7.953 kB / 0.5633 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.3767, allocations: 89.91 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3767, allocations: 4 kB / 0.5634 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3767, allocations: 3.984 kB / 0.5634 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3767, allocations: 0 / 0.5634 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.3771, allocations: 346.8 kB / 0.5638 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3771, allocations: 7.938 kB / 0.5638 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.3772, allocations: 11.98 kB / 0.5638 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3772, allocations: 3.938 kB / 0.5638 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3772, allocations: 8 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3772, allocations: 0 / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3772, allocations: 3.938 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3775, allocations: 179.8 kB / 0.564 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.3775, allocations: 81.06 kB / 0.564 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3775, allocations: 4 kB / 0.564 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.3776, allocations: 3.984 kB / 0.564 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3776, allocations: 11.92 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3777, allocations: 0 / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3778, allocations: 121.5 kB / 0.5642 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3778, allocations: 0 / 0.5642 GB, free: 15.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.378, allocations: 23.88 kB / 0.5642 GB, free: 15.06 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.002022/0.38, allocations: 1.004 MB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.3802, allocations: 51.89 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3803, allocations: 4 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.3803, allocations: 23.98 kB / 0.5652 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3807, allocations: 23.8 kB / 0.5653 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.3824, allocations: 1.447 MB / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3828, allocations: 0.6963 MB / 0.5674 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.3828, allocations: 11.84 kB / 0.5674 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.3829, allocations: 27.42 kB / 0.5674 GB, free: 11.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3829, allocations: 0 / 0.5674 GB, free: 11.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.4064, allocations: 2.53 MB / 0.5699 GB, free: 9.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.514, allocations: 7.922 kB / 0.5699 GB, free: 9.258 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.565746284992201] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.63682423598948 8.656002547 8.280428101 Calling exit ...