Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001795/0.001795, 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.002176/0.002176, allocations: 212.6 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.489/1.489, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2593/0.2593, allocations: 46.93 MB / 361.6 MB, free: 4.223 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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",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.002316/0.002316, allocations: 84.14 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3176, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003145/0.3207, allocations: 1.699 MB / 0.5632 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3218, allocations: 0.5927 MB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.3219, allocations: 4 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.3221, allocations: 79.69 kB / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.3224, allocations: 107.6 kB / 0.564 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3229, allocations: 183.1 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.323, allocations: 95.73 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3231, allocations: 14.2 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.3232, allocations: 43.83 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3233, allocations: 59.81 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3233, allocations: 4 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3234, allocations: 63.78 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.3235, allocations: 27.92 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.3236, allocations: 35.73 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.3238, allocations: 131.4 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3238, allocations: 4 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3238, allocations: 0 / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3238, allocations: 0 / 0.5646 GB, free: 1.184 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005191/0.3243, allocations: 361.4 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3243, allocations: 12.03 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.3244, allocations: 38.73 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3244, allocations: 12.84 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3246, allocations: 150.3 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3246, allocations: 8.375 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3246, allocations: 4.375 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3248, allocations: 66.17 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3248, allocations: 3.938 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3248, allocations: 4 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3248, allocations: 7.984 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.325, allocations: 39.95 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3255, allocations: 303.8 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.3257, allocations: 62.58 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.3258, allocations: 32.95 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3258, allocations: 0 / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3258, allocations: 34.56 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3258, allocations: 0 / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001474/0.3273, allocations: 433.2 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3274, allocations: 51.41 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3276, allocations: 230.6 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3276, allocations: 29.7 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.3277, allocations: 108.1 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3277, allocations: 31.7 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.3278, allocations: 29.7 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3279, allocations: 322.8 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3281, allocations: 55.95 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3282, allocations: 59.95 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3285, allocations: 121.1 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3285, allocations: 3.938 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003641/0.3288, allocations: 173.3 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3288, allocations: 10.19 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.3288, allocations: 4 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3289, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.329, allocations: 27.97 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.329, allocations: 3.938 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.3291, allocations: 11.98 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3291, allocations: 8 kB / 0.5673 GB, free: 14.18 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 (11): * Single equations (assignments): 11 * 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.0001095/0.3292, allocations: 130.7 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.3292, allocations: 15.91 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.3297, allocations: 190.9 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3297, allocations: 3.984 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3297, allocations: 3.938 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3297, allocations: 0 / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.3304, allocations: 487.1 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3304, allocations: 3.938 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3305, allocations: 31.97 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3305, allocations: 0 / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3305, allocations: 0 / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3305, allocations: 4 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3305, allocations: 192 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.3309, allocations: 277 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.3309, allocations: 27.83 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.331, allocations: 4 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.3311, allocations: 12 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3311, allocations: 11.97 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3311, allocations: 4 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.3313, allocations: 172.3 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3315, allocations: 31.92 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002269/0.3338, allocations: 1.153 MB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.3342, allocations: 119.8 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3342, allocations: 4 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3343, allocations: 71.95 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3347, allocations: 29.52 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.3373, allocations: 1.982 MB / 0.5719 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3376, allocations: 0.7197 MB / 0.5726 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.15e-05/0.3377, allocations: 28.47 kB / 0.5727 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.3378, allocations: 43.42 kB / 0.5727 GB, free: 8.574 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3378, allocations: 4 kB / 0.5727 GB, free: 8.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.363, allocations: 3.723 MB / 0.5763 GB, free: 4.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.378, allocations: 11.12 kB / 0.5764 GB, free: 4.84 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.318144720979035] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.518002787139267 8.534428855 8.207511617 Calling exit ...