Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001248/0.001248, allocations: 109 kB / 20.42 MB, free: 1.535 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.00138/0.00138, allocations: 210.7 kB / 23.72 MB, free: 4.965 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.465/1.465, allocations: 230.2 MB / 257.1 MB, free: 8.512 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.2473/0.2473, allocations: 46.88 MB / 360.3 MB, free: 4.652 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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",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.003183/0.003183, allocations: 80.16 kB / 0.4956 GB, free: 8.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3514, allocations: 65.99 MB / 0.56 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003044/0.3545, allocations: 1.628 MB / 0.5616 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3564, allocations: 1.263 MB / 0.5628 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.3565, allocations: 4 kB / 0.5628 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3567, allocations: 31.83 kB / 0.5629 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.357, allocations: 87.61 kB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.3573, allocations: 103.7 kB / 0.563 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3574, allocations: 79.77 kB / 0.5631 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3575, allocations: 25.75 kB / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.3576, allocations: 31.84 kB / 0.5632 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3577, allocations: 39.83 kB / 0.5632 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3578, allocations: 4 kB / 0.5632 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3579, allocations: 99.89 kB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.358, allocations: 23.91 kB / 0.5633 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.358, allocations: 31.8 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3583, allocations: 151.5 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3583, allocations: 0 / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3583, allocations: 0 / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3583, allocations: 0 / 0.5635 GB, free: 1.328 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.0005586/0.3589, allocations: 418.7 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3589, allocations: 12.03 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.3589, allocations: 38.75 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.359, allocations: 12.88 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.3592, allocations: 192.2 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3592, allocations: 4.375 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.3592, allocations: 4.375 kB / 0.5642 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3594, allocations: 79.89 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.3595, allocations: 7.891 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3595, allocations: 3.938 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3595, allocations: 12 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3596, allocations: 39.95 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.36, allocations: 312.7 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3602, allocations: 54.55 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.3602, allocations: 16.98 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3603, allocations: 7.984 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3603, allocations: 30.66 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3603, allocations: 3.938 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006571/0.361, allocations: 197.3 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.361, allocations: 81.05 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3612, allocations: 160.4 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3612, allocations: 25.7 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.3613, allocations: 96.12 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.3613, allocations: 27.75 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.3614, allocations: 29.64 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3616, allocations: 322.8 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3617, allocations: 31.97 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3618, allocations: 49.69 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3619, allocations: 64.83 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3619, allocations: 0 / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.3622, allocations: 109.5 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3622, allocations: 7.984 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3622, allocations: 0 / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3622, allocations: 0 / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3623, allocations: 24.02 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.3623, allocations: 320 / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.3624, allocations: 11.94 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3624, allocations: 0 / 0.5659 GB, free: 14.64 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 9.443e-05/0.3625, allocations: 121.8 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.3625, allocations: 11.91 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.3628, allocations: 134.3 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3628, allocations: 0 / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3628, allocations: 0 / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3628, allocations: 7.938 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.3634, allocations: 402.4 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3634, allocations: 0 / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.3635, allocations: 19.94 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3635, allocations: 3.984 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3635, allocations: 8.312 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3635, allocations: 0 / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3635, allocations: 4 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.3638, allocations: 203.5 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.3638, allocations: 89.05 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3639, allocations: 3.938 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.3639, allocations: 8 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.364, allocations: 11.98 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-06/0.364, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3641, allocations: 121.5 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3644, allocations: 43.86 kB / 0.567 GB, free: 13.36 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 (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.002166/0.3665, allocations: 1.13 MB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.3668, allocations: 79.88 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3668, allocations: 0 / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.3669, allocations: 27.98 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3673, allocations: 26.17 kB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3692, allocations: 1.554 MB / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3696, allocations: 0.7002 MB / 0.5705 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.206e-05/0.3697, allocations: 20.72 kB / 0.5705 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.3697, allocations: 35.41 kB / 0.5705 GB, free: 9.832 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3697, allocations: 4 kB / 0.5705 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.3965, allocations: 3.489 MB / 0.5739 GB, free: 6.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.341, allocations: 10.34 kB / 0.5739 GB, free: 6.305 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.266534294001758] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y'] 8.46960227098316 8.490783926 8.127937275 Calling exit ...