Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 46.97 MB / 361.7 MB, free: 4.02 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 71.88 kB / 0.4969 GB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2989, allocations: 66.03 MB / 0.5614 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003325/0.3022, allocations: 1.698 MB / 0.5631 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.304, allocations: 0.9754 MB / 0.564 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.304, allocations: 3.938 kB / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.3043, allocations: 75.77 kB / 0.5641 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.3047, allocations: 119.5 kB / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3049, allocations: 83.66 kB / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3051, allocations: 107.8 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3052, allocations: 17.73 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.3053, allocations: 51.78 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3054, allocations: 67.75 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3055, allocations: 4 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3056, allocations: 47.98 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.3056, allocations: 27.89 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.3057, allocations: 31.75 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3059, allocations: 119.5 kB / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3059, allocations: 0 / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3059, allocations: 4 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3059, allocations: 0 / 0.5648 GB, free: 0.7422 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005855/0.3065, allocations: 361.4 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3066, allocations: 8.031 kB / 0.5651 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.3066, allocations: 4.188 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3066, allocations: 34.75 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.3067, allocations: 16.78 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3069, allocations: 154.8 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3069, allocations: 12.12 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.307, allocations: 0 / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3071, allocations: 57.67 kB / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3071, allocations: 3.984 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3071, allocations: 0 / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3071, allocations: 7.984 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3073, allocations: 23.92 kB / 0.5654 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.3076, allocations: 263.9 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3078, allocations: 54.67 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.3079, allocations: 20.84 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3079, allocations: 7.938 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3081, allocations: 63.39 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3081, allocations: 4 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.3086, allocations: 193.3 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3086, allocations: 51.41 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3089, allocations: 227.5 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3089, allocations: 29.7 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.309, allocations: 108.1 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.309, allocations: 23.8 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3091, allocations: 25.7 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3092, allocations: 326.8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.3093, allocations: 19.98 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.3094, allocations: 41.7 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3095, allocations: 61.72 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3095, allocations: 3.938 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.3097, allocations: 109.5 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3097, allocations: 4 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3097, allocations: 4 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3097, allocations: 3.984 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.3098, allocations: 12 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3098, allocations: 3.938 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.3099, allocations: 8.031 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3099, allocations: 8 kB / 0.567 GB, free: 14.21 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.0001187/0.31, allocations: 136.6 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.31, allocations: 12.09 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.3103, allocations: 134.9 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3103, allocations: 0 / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3103, allocations: 3.938 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3103, allocations: 0 / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.3108, allocations: 370.4 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3108, allocations: 4 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.3108, allocations: 11.94 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3108, allocations: 3.938 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3108, allocations: 11.98 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3108, allocations: 0 / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3108, allocations: 0 / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3111, allocations: 212.2 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3111, allocations: 15.84 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.3112, allocations: 4 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.3112, allocations: 8.016 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3113, allocations: 11.98 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3113, allocations: 4.375 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.3114, allocations: 173.1 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3114, allocations: 0 / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3117, allocations: 31.92 kB / 0.5681 GB, free: 13 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 (9): * Single equations (assignments): 7 * 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.002225/0.3139, allocations: 1.143 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.3141, allocations: 63.89 kB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3141, allocations: 0 / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.3142, allocations: 36.08 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3146, allocations: 27.88 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3165, allocations: 1.723 MB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.599e-05/0.3166, allocations: 100.6 kB / 0.5711 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.796e-05/0.3167, allocations: 16.95 kB / 0.5712 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.3167, allocations: 39.42 kB / 0.5712 GB, free: 9.934 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3167, allocations: 0 / 0.5712 GB, free: 9.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.3394, allocations: 3.915 MB / 0.575 GB, free: 6.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.77, allocations: 14.05 kB / 0.575 GB, free: 6.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.831368701998144] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.99566214508377 12.020243714 11.709615154 Calling exit ...