Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001356/0.001356, allocations: 105.1 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.001487/0.001487, allocations: 213.9 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.505/1.505, 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.2292/0.2292, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",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.003494/0.003494, allocations: 79.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3882, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003494/0.3917, allocations: 1.622 MB / 0.5631 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.3942, allocations: 1.263 MB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.3942, allocations: 8 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.3945, allocations: 19.8 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3948, allocations: 83.61 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.3951, allocations: 91.7 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3953, allocations: 71.77 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3954, allocations: 11.98 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.3955, allocations: 19.94 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.3957, allocations: 35.83 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3958, allocations: 4 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.396, allocations: 103.9 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.396, allocations: 15.92 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.3961, allocations: 23.88 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.3964, allocations: 143.5 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3964, allocations: 0 / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3964, allocations: 0 / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3964, allocations: 0 / 0.5649 GB, free: 0.7891 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.0005385/0.3969, allocations: 325.7 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.397, allocations: 11.97 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.397, allocations: 38.75 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.397, allocations: 8.891 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3973, allocations: 138.3 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3973, allocations: 4.375 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3973, allocations: 4.375 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3975, allocations: 59.95 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.3975, allocations: 7.875 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3975, allocations: 4 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3975, allocations: 4 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.3976, allocations: 19.98 kB / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.398, allocations: 248 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3982, allocations: 46.48 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.3983, allocations: 12.86 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3983, allocations: 4 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3983, allocations: 34.56 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.3983, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000589/0.3989, allocations: 141.5 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.399, allocations: 77.11 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3992, allocations: 148.2 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3992, allocations: 25.7 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3994, allocations: 100.1 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.3994, allocations: 19.86 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.3994, allocations: 17.72 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3996, allocations: 318.8 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.3997, allocations: 19.98 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.3998, allocations: 37.64 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.4, allocations: 49.02 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4, allocations: 4 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/0.4001, allocations: 81.84 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4002, allocations: 4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4002, allocations: 3.984 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4002, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.4003, allocations: 16.03 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4003, allocations: 3.938 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.4003, allocations: 11.97 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4003, allocations: 4 kB / 0.5669 GB, free: 14.56 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.0001037/0.4004, allocations: 118.7 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.4005, allocations: 7.953 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.4007, allocations: 94 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4007, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4007, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4007, allocations: 3.984 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.4012, allocations: 317.6 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4012, allocations: 0 / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.4013, allocations: 19.92 kB / 0.5674 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4013, allocations: 0 / 0.5674 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4013, allocations: 0 / 0.5674 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4013, allocations: 4 kB / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4013, allocations: 3.938 kB / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.4015, allocations: 179.7 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.4015, allocations: 15.94 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4016, allocations: 0 / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.4016, allocations: 4 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.4017, allocations: 15.92 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4017, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.4018, allocations: 111.3 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4018, allocations: 0 / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.4021, allocations: 39.86 kB / 0.5678 GB, free: 13.55 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.002193/0.4043, allocations: 1.1 MB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.4045, allocations: 47.95 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4045, allocations: 0 / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.4046, allocations: 27.92 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4049, allocations: 23.3 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.4067, allocations: 1.429 MB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.4071, allocations: 0.6885 MB / 0.571 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.003e-05/0.4072, allocations: 19.94 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.4073, allocations: 27.42 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4073, allocations: 0 / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4362, allocations: 3.291 MB / 0.5743 GB, free: 6.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.393, allocations: 7.953 kB / 0.5743 GB, free: 6.918 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.446232078131288] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.540954984724522 8.563848634 8.16392911 Calling exit ...