Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001456/0.001456, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001422/0.001422, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.062 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.2314/0.2314, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",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.002375/0.002375, allocations: 83.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3842, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003318/0.3876, allocations: 1.646 MB / 0.5631 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3886, allocations: 0.5576 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.3887, allocations: 4 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.389, allocations: 123.6 kB / 0.5638 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3893, allocations: 123.6 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3897, allocations: 123.6 kB / 0.564 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3899, allocations: 103.7 kB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.39, allocations: 8 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.3901, allocations: 47.88 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3902, allocations: 91.77 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3902, allocations: 4 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.3903, allocations: 51.84 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.3904, allocations: 35.91 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.3904, allocations: 35.69 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3907, allocations: 119.4 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3907, allocations: 0 / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3907, allocations: 0 / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3907, allocations: 0 / 0.5645 GB, free: 1.266 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.0005325/0.3912, allocations: 369.3 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3912, allocations: 12.03 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3913, allocations: 30.75 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.3913, allocations: 16.78 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3915, allocations: 170.4 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3915, allocations: 8.375 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.3916, allocations: 384 / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3917, allocations: 54.23 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3917, allocations: 7.938 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3917, allocations: 0 / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3917, allocations: 0 / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3918, allocations: 31.91 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.3923, allocations: 287.8 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3924, allocations: 42.56 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.3924, allocations: 20.92 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3925, allocations: 4 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3925, allocations: 30.56 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3925, allocations: 7.938 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009322/0.3934, allocations: 249.1 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3935, allocations: 51.41 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3938, allocations: 271.8 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3938, allocations: 33.64 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.3939, allocations: 112.1 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.3939, allocations: 31.81 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.3939, allocations: 25.7 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3941, allocations: 334.8 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3942, allocations: 23.98 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.3942, allocations: 31.97 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3944, allocations: 72.83 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3944, allocations: 4 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002267/0.3946, allocations: 117.5 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3947, allocations: 7.984 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3947, allocations: 0 / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3947, allocations: 0 / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3948, allocations: 23.98 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3948, allocations: 4 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.3948, allocations: 4 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3948, allocations: 3.938 kB / 0.5669 GB, free: 14.61 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.0001214/0.395, allocations: 136 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.395, allocations: 15.91 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.3953, allocations: 143.2 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3953, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3953, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3953, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.3959, allocations: 398.3 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3959, allocations: 3.984 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.396, allocations: 16 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.396, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.396, allocations: 7.922 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.396, allocations: 8.031 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.396, allocations: 0 / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.3963, allocations: 216.2 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.3963, allocations: 11.91 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3963, allocations: 11.88 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.3964, allocations: 15.98 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.3964, allocations: 3.984 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3964, allocations: 7.938 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.3966, allocations: 212.1 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3966, allocations: 0 / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.3969, allocations: 23.92 kB / 0.5681 GB, free: 13.31 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.002207/0.3991, allocations: 1.092 MB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3993, allocations: 79.89 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3993, allocations: 0 / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3994, allocations: 31.97 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3998, allocations: 24.08 kB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.4022, allocations: 1.864 MB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.4026, allocations: 0.7236 MB / 0.5718 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.4027, allocations: 24.66 kB / 0.5718 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.4028, allocations: 39.42 kB / 0.5719 GB, free: 9.453 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4028, allocations: 0 / 0.5719 GB, free: 9.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.4326, allocations: 3.533 MB / 0.5753 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.321, allocations: 4.5 kB / 0.5753 GB, free: 5.926 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.268855716101825] 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.463138717692345 8.480244126 8.086263146 Calling exit ...