Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001821/0.001821, 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.002449/0.002449, allocations: 214.4 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.518/1.518, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.2344/0.2344, allocations: 46.89 MB / 359.4 MB, free: 4.902 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",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.003032/0.003032, allocations: 79.86 kB / 0.4942 GB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3703, allocations: 65.98 MB / 0.5586 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003182/0.3734, allocations: 1.615 MB / 0.5602 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3753, allocations: 1.235 MB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.3754, allocations: 0 / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.3756, allocations: 31.84 kB / 0.5614 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.3759, allocations: 83.61 kB / 0.5615 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.3762, allocations: 111.6 kB / 0.5616 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3763, allocations: 71.77 kB / 0.5617 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3764, allocations: 9.812 kB / 0.5617 GB, free: 2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.3765, allocations: 27.92 kB / 0.5617 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.3766, allocations: 31.84 kB / 0.5617 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3767, allocations: 4 kB / 0.5617 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3768, allocations: 103.9 kB / 0.5618 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.3769, allocations: 15.92 kB / 0.5618 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3769, allocations: 23.86 kB / 0.5619 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.3772, allocations: 143.5 kB / 0.562 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3772, allocations: 0 / 0.562 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3772, allocations: 0 / 0.562 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3772, allocations: 0 / 0.562 GB, free: 1.656 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.0006056/0.3778, allocations: 406.8 kB / 0.5624 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3779, allocations: 12.03 kB / 0.5624 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.3779, allocations: 38.69 kB / 0.5624 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.378, allocations: 8.891 kB / 0.5625 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.3782, allocations: 196.2 kB / 0.5626 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3782, allocations: 4.375 kB / 0.5626 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.3782, allocations: 384 / 0.5626 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3784, allocations: 67.94 kB / 0.5627 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3784, allocations: 7.938 kB / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3784, allocations: 4 kB / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3784, allocations: 0 / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.3785, allocations: 23.92 kB / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.379, allocations: 284.9 kB / 0.563 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3792, allocations: 42.55 kB / 0.5631 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3793, allocations: 24.8 kB / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3793, allocations: 0 / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3793, allocations: 38.64 kB / 0.5631 GB, free: 348 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3793, allocations: 0 / 0.5631 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006146/0.3799, allocations: 145.4 kB / 0.5633 GB, free: 196 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.38, allocations: 85.09 kB / 0.5633 GB, free: 92 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3802, allocations: 144.3 kB / 0.5635 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3802, allocations: 25.7 kB / 0.5635 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.3803, allocations: 96.08 kB / 0.5636 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3804, allocations: 19.84 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.3804, allocations: 17.72 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3806, allocations: 322.8 kB / 0.5639 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.3806, allocations: 23.98 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.3807, allocations: 33.7 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3809, allocations: 56.81 kB / 0.564 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3809, allocations: 3.938 kB / 0.564 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002039/0.3811, allocations: 85.81 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3811, allocations: 4.031 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3811, allocations: 8 kB / 0.5641 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3811, allocations: 4 kB / 0.5641 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.3812, allocations: 11.98 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3812, allocations: 0 / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.3813, allocations: 11.92 kB / 0.5642 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3813, allocations: 4 kB / 0.5642 GB, free: 15.19 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 0.0001106/0.3814, allocations: 117.8 kB / 0.5643 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3814, allocations: 7.953 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.3817, allocations: 101.9 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3817, allocations: 0 / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3817, allocations: 0 / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3817, allocations: 4 kB / 0.5644 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.3822, allocations: 362.5 kB / 0.5647 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3822, allocations: 0 / 0.5647 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.3822, allocations: 19.92 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3822, allocations: 0 / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3823, allocations: 4 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3823, allocations: 0 / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3823, allocations: 3.938 kB / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3825, allocations: 183.5 kB / 0.5649 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.3826, allocations: 81.06 kB / 0.565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3826, allocations: 4 kB / 0.565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.3827, allocations: 7.984 kB / 0.565 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3827, allocations: 7.938 kB / 0.565 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3827, allocations: 192 / 0.565 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3828, allocations: 117.6 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3828, allocations: 0 / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.3831, allocations: 35.88 kB / 0.5652 GB, free: 14.04 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.00228/0.3854, allocations: 1.116 MB / 0.5663 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3857, allocations: 51.95 kB / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3857, allocations: 0 / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.3858, allocations: 27.92 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3861, allocations: 23.91 kB / 0.5664 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3884, allocations: 1.455 MB / 0.5678 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3888, allocations: 0.6924 MB / 0.5685 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.257e-05/0.3888, allocations: 19.98 kB / 0.5685 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.3889, allocations: 31.42 kB / 0.5685 GB, free: 10.68 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3889, allocations: 3.938 kB / 0.5685 GB, free: 10.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.4162, allocations: 3.247 MB / 0.5717 GB, free: 7.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.465, allocations: 7.922 kB / 0.5717 GB, free: 7.402 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.544495517009636] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.589520251989597 8.608242145 8.227830829 Calling exit ...