Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.001278/0.001278, 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.001426/0.001426, allocations: 213.2 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.41/1.41, 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.2204/0.2204, allocations: 46.93 MB / 361.6 MB, free: 4.297 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.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",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.00231/0.00231, allocations: 83.86 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3025, allocations: 66.08 MB / 0.5616 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003362/0.3058, allocations: 1.745 MB / 0.5633 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.3084, allocations: 1.734 MB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.3085, allocations: 3.938 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.3088, allocations: 39.77 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.3091, allocations: 103.5 kB / 0.5651 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3093, allocations: 79.67 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3095, allocations: 107.7 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.3096, allocations: 9.969 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3097, allocations: 59.64 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3099, allocations: 39.84 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3099, allocations: 4 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.3101, allocations: 115.9 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.3101, allocations: 19.91 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.3102, allocations: 31.81 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.3105, allocations: 171.5 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3105, allocations: 3.938 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3105, allocations: 0 / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3105, allocations: 4 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005893/0.3111, allocations: 349.5 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3111, allocations: 12.02 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3112, allocations: 30.75 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.3112, allocations: 12.84 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3115, allocations: 150.9 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3115, allocations: 12.38 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3115, allocations: 7.922 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3117, allocations: 67.39 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3117, allocations: 7.875 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3117, allocations: 0 / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3117, allocations: 0 / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.3118, allocations: 19.98 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.3122, allocations: 263.9 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3124, allocations: 50.61 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.3124, allocations: 20.86 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3125, allocations: 7.984 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.3126, allocations: 67.39 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3126, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005713/0.3132, allocations: 165.4 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.3133, allocations: 89.09 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3135, allocations: 162.4 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3135, allocations: 25.7 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.3136, allocations: 96.14 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.3136, allocations: 35.72 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3136, allocations: 25.72 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3138, allocations: 322.8 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.3139, allocations: 19.98 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.3139, allocations: 50.44 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3141, allocations: 54.09 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3141, allocations: 12.02 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.3143, allocations: 93.66 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3143, allocations: 6.5 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3143, allocations: 4.078 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3143, allocations: 4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3144, allocations: 15.98 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3144, allocations: 3.984 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.3145, allocations: 11.94 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3145, allocations: 4 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001104/0.3146, allocations: 122.7 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.3146, allocations: 15.88 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3149, allocations: 106.4 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3149, allocations: 4 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3149, allocations: 0 / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3149, allocations: 7.922 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.3154, allocations: 374.3 kB / 0.5685 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3154, allocations: 0 / 0.5685 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.3154, allocations: 8 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3154, allocations: 3.938 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3154, allocations: 4 kB / 0.5685 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3154, allocations: 0 / 0.5685 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3154, allocations: 0 / 0.5685 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.3157, allocations: 208.3 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.3157, allocations: 15.94 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3157, allocations: 7.938 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.3158, allocations: 0 / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3159, allocations: 7.984 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3159, allocations: 4 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.316, allocations: 127.9 kB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.316, allocations: 0 / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.3163, allocations: 51.86 kB / 0.5689 GB, free: 12.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002395/0.3187, allocations: 1.186 MB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3189, allocations: 67.89 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3189, allocations: 0 / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.319, allocations: 23.98 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3193, allocations: 30.27 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3212, allocations: 1.593 MB / 0.5718 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3215, allocations: 0.7002 MB / 0.5724 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.3215, allocations: 12.97 kB / 0.5725 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.3216, allocations: 39.36 kB / 0.5725 GB, free: 8.699 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3216, allocations: 4 kB / 0.5725 GB, free: 8.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.3492, allocations: 4.106 MB / 0.5765 GB, free: 4.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.486, allocations: 3.703 kB / 0.5765 GB, free: 4.574 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.278531143907458] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.632770865224302 8.658522079 8.344074104 Calling exit ...