Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.002036/0.002036, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001508/0.001508, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.383/1.383, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.94 MB / 361.6 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 75.88 kB / 0.497 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3208, allocations: 66.09 MB / 0.5615 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003134/0.3239, allocations: 1.712 MB / 0.5632 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3256, allocations: 0.9631 MB / 0.5641 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.3256, allocations: 4 kB / 0.5641 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3259, allocations: 43.77 kB / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3263, allocations: 99.59 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.3265, allocations: 83.66 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3267, allocations: 107.6 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3268, allocations: 9.828 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.3269, allocations: 43.78 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.587e-05/0.327, allocations: 35.78 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.327, allocations: 4 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3271, allocations: 47.98 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.3272, allocations: 23.91 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.3272, allocations: 27.81 kB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3274, allocations: 127.4 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3274, allocations: 0 / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3274, allocations: 3.938 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3274, allocations: 0 / 0.5647 GB, free: 0.6836 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.0005479/0.328, allocations: 349.5 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.328, allocations: 12.03 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.741e-05/0.328, allocations: 4.188 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.3281, allocations: 30.75 kB / 0.5651 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3281, allocations: 12.89 kB / 0.5651 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3284, allocations: 166.3 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3284, allocations: 384 / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3284, allocations: 4.359 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3286, allocations: 65.55 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3286, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3286, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3286, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.3287, allocations: 23.97 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.3291, allocations: 263.9 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3292, allocations: 54.61 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.3293, allocations: 24.84 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3293, allocations: 4 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.3295, allocations: 63.39 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3295, allocations: 0 / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.33, allocations: 189.3 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3301, allocations: 55.41 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.3303, allocations: 222.2 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3303, allocations: 25.7 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.3304, allocations: 120 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.3304, allocations: 23.84 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3305, allocations: 21.7 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3306, allocations: 326.8 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.3307, allocations: 20 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.3308, allocations: 41.64 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3309, allocations: 61.7 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3309, allocations: 0 / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.3311, allocations: 109.5 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3311, allocations: 8.031 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3311, allocations: 0 / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3311, allocations: 4 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.3312, allocations: 16.36 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3312, allocations: 0 / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.3313, allocations: 11.94 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3313, allocations: 3.938 kB / 0.567 GB, free: 14.18 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.0001349/0.3314, allocations: 135.1 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3314, allocations: 11.91 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.3317, allocations: 131.1 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3317, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3317, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3317, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.3322, allocations: 374.4 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3322, allocations: 4 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.3322, allocations: 11.98 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3322, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3322, allocations: 3.938 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3322, allocations: 4 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3322, allocations: 4.031 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.3325, allocations: 224.4 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.3325, allocations: 7.953 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3325, allocations: 3.938 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3326, allocations: 4 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.3326, allocations: 11.98 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3327, allocations: 4 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3328, allocations: 156.3 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3328, allocations: 3.938 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3331, allocations: 23.98 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.002187/0.3352, allocations: 1.132 MB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.3354, allocations: 55.97 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3354, allocations: 4.062 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3355, allocations: 35.91 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3359, allocations: 23.97 kB / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3379, allocations: 1.694 MB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.338, allocations: 104.6 kB / 0.571 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.692e-05/0.3381, allocations: 28.62 kB / 0.5711 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.3382, allocations: 43.41 kB / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3382, allocations: 0 / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3611, allocations: 3.85 MB / 0.5749 GB, free: 6.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.04, allocations: 15.92 kB / 0.5749 GB, free: 6.09 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.886877913028002] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.259228519978933 11.2867682 10.954489185 Calling exit ...