Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001683/0.001683, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001592/0.001592, allocations: 212 kB / 24.54 MB, free: 4.016 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.54/1.54, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2519/0.2519, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",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.003119/0.003119, allocations: 75.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3883, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003171/0.3915, allocations: 1.638 MB / 0.5631 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3925, allocations: 0.5499 MB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.3926, allocations: 0 / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.3929, allocations: 75.7 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.3932, allocations: 103.6 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.3934, allocations: 103.1 kB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3936, allocations: 83.75 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.3937, allocations: 15.98 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.3938, allocations: 31.91 kB / 0.5641 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3939, allocations: 51.83 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3939, allocations: 0 / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.394, allocations: 55.91 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.3941, allocations: 23.86 kB / 0.5642 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.3941, allocations: 23.81 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.3943, allocations: 111.4 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3943, allocations: 4 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3943, allocations: 0 / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3943, allocations: 0 / 0.5643 GB, free: 1.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005804/0.3949, allocations: 329.7 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3949, allocations: 12.03 kB / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.395, allocations: 38.67 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.395, allocations: 12.84 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.3952, allocations: 139.2 kB / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3952, allocations: 8.375 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3952, allocations: 4.375 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3954, allocations: 54.23 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3954, allocations: 7.938 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3954, allocations: 0 / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3954, allocations: 4 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.881e-05/0.3955, allocations: 27.97 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3959, allocations: 263.8 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.396, allocations: 46.56 kB / 0.5652 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.3961, allocations: 16.94 kB / 0.5652 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3961, allocations: 3.984 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3961, allocations: 38.5 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3961, allocations: 0 / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008741/0.397, allocations: 221.2 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3971, allocations: 59.39 kB / 0.5655 GB, free: 16 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3973, allocations: 199.3 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3973, allocations: 25.7 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.3974, allocations: 104.1 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.3974, allocations: 35.73 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3975, allocations: 17.72 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3976, allocations: 330.8 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.3977, allocations: 27.97 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.3978, allocations: 23.98 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3979, allocations: 68.83 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3979, allocations: 4 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002137/0.3981, allocations: 101.8 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3982, allocations: 6.188 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3982, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3982, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3983, allocations: 19.98 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3983, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.3983, allocations: 11.98 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3983, allocations: 7.938 kB / 0.5665 GB, free: 15 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.0001063/0.3985, allocations: 125.8 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.3985, allocations: 15.89 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3988, allocations: 115 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3988, allocations: 0 / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3988, allocations: 7.984 kB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3988, allocations: 0 / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.3994, allocations: 370.3 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3994, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.3994, allocations: 19.98 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3994, allocations: 0 / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3994, allocations: 11.94 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.3995, allocations: 11.92 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3995, allocations: 3.938 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3997, allocations: 204.3 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.3997, allocations: 11.94 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3998, allocations: 3.938 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.3998, allocations: 8 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.3999, allocations: 7.984 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3999, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.4, allocations: 161.6 kB / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4, allocations: 0 / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.4003, allocations: 19.94 kB / 0.5675 GB, free: 13.83 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.002181/0.4024, allocations: 1.081 MB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.4027, allocations: 63.89 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4027, allocations: 4 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.4028, allocations: 35.98 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.4032, allocations: 18.58 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4052, allocations: 1.644 MB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4056, allocations: 0.704 MB / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.638e-05/0.4057, allocations: 12.97 kB / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.4057, allocations: 35.42 kB / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4057, allocations: 0 / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4346, allocations: 3.134 MB / 0.5741 GB, free: 7.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.436, allocations: 1.547 kB / 0.5741 GB, free: 7.129 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.577184488996863] 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.578830926679075 8.602647461 8.203757698 Calling exit ...