Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.001522/0.001522, allocations: 109.1 kB / 21.22 MB, free: 0.7461 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.001681/0.001681, allocations: 211.7 kB / 24.52 MB, free: 4.141 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.395/1.395, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2224/0.2224, allocations: 46.92 MB / 361.6 MB, free: 4.23 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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3209, allocations: 66.09 MB / 0.5616 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003523/0.3244, allocations: 1.741 MB / 0.5633 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3272, allocations: 1.738 MB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.3273, allocations: 3.938 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3276, allocations: 31.78 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.3279, allocations: 99.53 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.3281, allocations: 83.72 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3283, allocations: 111.6 kB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3284, allocations: 13.81 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3285, allocations: 51.78 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3287, allocations: 43.83 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3287, allocations: 4 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3289, allocations: 107.9 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.3289, allocations: 23.86 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.329, allocations: 35.73 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.3293, allocations: 175.3 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3293, allocations: 4 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3293, allocations: 0 / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3293, allocations: 0 / 0.5657 GB, free: 44 kB / 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.0006398/0.3299, allocations: 349.6 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.33, allocations: 8.031 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.33, allocations: 4.188 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.33, allocations: 30.75 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.3301, allocations: 12.84 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3304, allocations: 166.7 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3305, allocations: 8.125 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.3305, allocations: 4 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3307, allocations: 63.39 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3307, allocations: 4 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3307, allocations: 0 / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3307, allocations: 0 / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.3308, allocations: 19.98 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3312, allocations: 271.8 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3314, allocations: 46.69 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.3314, allocations: 20.84 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3314, allocations: 0 / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.3316, allocations: 79.33 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3316, allocations: 0 / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.3322, allocations: 169.4 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.3322, allocations: 85.05 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3324, allocations: 166.4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3325, allocations: 25.7 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.3325, allocations: 100.1 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3326, allocations: 27.75 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3326, allocations: 29.7 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3328, allocations: 318.8 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.3328, allocations: 20 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.3329, allocations: 42.56 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.333, allocations: 61.64 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.333, allocations: 4.219 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.3332, allocations: 101.6 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3332, allocations: 7.938 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3332, allocations: 0 / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3333, allocations: 0 / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.3333, allocations: 19.94 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3334, allocations: 3.938 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.3334, allocations: 11.98 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3334, allocations: 0 / 0.5679 GB, free: 13.58 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.0001098/0.3335, allocations: 125.8 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3336, allocations: 7.953 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3338, allocations: 114.3 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3338, allocations: 0 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3338, allocations: 3.938 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3338, allocations: 4 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.3343, allocations: 374.6 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3343, allocations: 0 / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.3344, allocations: 8 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3344, allocations: 3.938 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3344, allocations: 11.98 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3344, allocations: 0 / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3344, allocations: 0 / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3346, allocations: 196.4 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.3347, allocations: 19.83 kB / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3347, allocations: 384 / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.3348, allocations: 7.984 kB / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.3348, allocations: 11.98 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3348, allocations: 7.984 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.3349, allocations: 127.9 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.3352, allocations: 47.86 kB / 0.5689 GB, free: 12.44 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.00241/0.3377, allocations: 1.187 MB / 0.5701 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3378, allocations: 55.98 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3378, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.3379, allocations: 27.92 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3383, allocations: 35.95 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.3402, allocations: 1.593 MB / 0.5718 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3405, allocations: 0.7001 MB / 0.5724 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.3406, allocations: 25.27 kB / 0.5725 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.3407, allocations: 35.42 kB / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3407, allocations: 4 kB / 0.5725 GB, free: 8.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.3656, allocations: 4.221 MB / 0.5766 GB, free: 4.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.02, allocations: 11.94 kB / 0.5766 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.83744473697152] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.235892425989732 11.250769001 10.918426065 Calling exit ...