Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001801/0.001801, allocations: 105.1 kB / 21.23 MB, free: 0.5039 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.002568/0.002568, allocations: 209.7 kB / 24.54 MB, free: 3.863 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.511/1.511, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2397/0.2397, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",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.002343/0.002343, allocations: 80.14 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3932, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003369/0.3966, allocations: 1.638 MB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3978, allocations: 0.5498 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.3978, allocations: 4 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.3982, allocations: 75.75 kB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.3985, allocations: 103.6 kB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3988, allocations: 95.69 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.399, allocations: 87.73 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3992, allocations: 8 kB / 0.564 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.3992, allocations: 39.91 kB / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3994, allocations: 63.73 kB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3994, allocations: 8 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3995, allocations: 47.97 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.3996, allocations: 15.94 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.3996, allocations: 39.67 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3998, allocations: 103.5 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3999, allocations: 0 / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3999, allocations: 0 / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.3999, allocations: 0 / 0.5643 GB, free: 1.441 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.0005738/0.4004, allocations: 345.6 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4005, allocations: 12.03 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.4005, allocations: 34.75 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.4006, allocations: 16.84 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.4008, allocations: 150.9 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.4008, allocations: 384 / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.4008, allocations: 4.375 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.401, allocations: 54.23 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.401, allocations: 3.938 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.401, allocations: 0 / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.401, allocations: 0 / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.4011, allocations: 27.98 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.4015, allocations: 267.8 kB / 0.5652 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4016, allocations: 38.56 kB / 0.5652 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.4017, allocations: 16.94 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4017, allocations: 4 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4017, allocations: 38.5 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4017, allocations: 0 / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008752/0.4026, allocations: 229.2 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.4026, allocations: 59.34 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4029, allocations: 214.3 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4029, allocations: 29.7 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.403, allocations: 108.1 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.403, allocations: 27.75 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.4031, allocations: 25.7 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4032, allocations: 326.8 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.4033, allocations: 31.98 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.4034, allocations: 19.98 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.4035, allocations: 60.83 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4035, allocations: 4 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002103/0.4037, allocations: 109.5 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4038, allocations: 10.33 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4038, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4038, allocations: 4 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4039, allocations: 19.98 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4039, allocations: 320 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.4039, allocations: 4 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4039, allocations: 3.938 kB / 0.5665 GB, free: 14.99 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.0001392/0.4041, allocations: 130.7 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.4041, allocations: 11.91 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.4044, allocations: 127 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4044, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4044, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4044, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.405, allocations: 382.3 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.405, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.405, allocations: 19.98 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.405, allocations: 4.031 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4051, allocations: 3.938 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4051, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4051, allocations: 4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4053, allocations: 204.3 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.4053, allocations: 7.906 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4054, allocations: 11.94 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.4055, allocations: 7.984 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4055, allocations: 0 / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4055, allocations: 8 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.4057, allocations: 168.2 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4057, allocations: 3.938 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.4059, allocations: 19.94 kB / 0.5676 GB, free: 13.8 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.002262/0.4082, allocations: 1.09 MB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.4084, allocations: 67.94 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4084, allocations: 0 / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.4085, allocations: 35.86 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4089, allocations: 15.98 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.411, allocations: 1.669 MB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.4114, allocations: 0.708 MB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.4114, allocations: 16.66 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4115, allocations: 35.36 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4115, allocations: 0 / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.439, allocations: 3.196 MB / 0.5743 GB, free: 7.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.258, allocations: 13.41 kB / 0.5743 GB, free: 6.996 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.319814447779208] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock.y'] 8.412322991061956 8.435476786 8.031213506 Calling exit ...