Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001624/0.001624, allocations: 107.5 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.00187/0.00187, allocations: 213.2 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.37/1.37, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2207/0.2207, allocations: 46.94 MB / 361.6 MB, free: 3.93 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.88 kB / 0.497 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2868, allocations: 66.08 MB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003002/0.2898, allocations: 1.718 MB / 0.5632 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2914, allocations: 0.9671 MB / 0.5641 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.2914, allocations: 7.938 kB / 0.5641 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.2918, allocations: 111.6 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.2921, allocations: 127.5 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2923, allocations: 79.67 kB / 0.5644 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.2925, allocations: 135.6 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.2926, allocations: 17.8 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.2926, allocations: 63.7 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.2928, allocations: 75.78 kB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2928, allocations: 4 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.2929, allocations: 59.98 kB / 0.5648 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.293, allocations: 43.83 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.293, allocations: 31.75 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2933, allocations: 163.2 kB / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2933, allocations: 0 / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2933, allocations: 0 / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2933, allocations: 3.938 kB / 0.565 GB, free: 400 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006039/0.2939, allocations: 397.3 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2939, allocations: 8.031 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.2939, allocations: 192 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.294, allocations: 38.73 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.294, allocations: 16.84 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.2943, allocations: 167.1 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2943, allocations: 4.375 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2943, allocations: 8.375 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2945, allocations: 65.59 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2945, allocations: 4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2945, allocations: 4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2945, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2946, allocations: 43.89 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.295, allocations: 283.9 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.2953, allocations: 74.53 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.2954, allocations: 28.84 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2954, allocations: 0 / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2956, allocations: 83.41 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.2956, allocations: 0 / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008211/0.2964, allocations: 297.7 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.2964, allocations: 55.39 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.2967, allocations: 271.7 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2967, allocations: 29.7 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.2968, allocations: 112.1 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.2968, allocations: 43.62 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.2969, allocations: 29.7 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.297, allocations: 330.8 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.2971, allocations: 31.98 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.088e-05/0.2972, allocations: 56.94 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2973, allocations: 93.64 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2973, allocations: 4 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003608/0.2977, allocations: 149.5 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2977, allocations: 9.969 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2977, allocations: 0 / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2977, allocations: 0 / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.2978, allocations: 27.98 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2978, allocations: 3.938 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.2979, allocations: 11.94 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.2979, allocations: 4 kB / 0.5677 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 (14): * Single equations (assignments): 14 * 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.0001259/0.298, allocations: 145.8 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.298, allocations: 15.91 kB / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.2984, allocations: 175 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2984, allocations: 0 / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2984, allocations: 3.938 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2984, allocations: 0 / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.2991, allocations: 459.1 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2991, allocations: 3.938 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.2991, allocations: 19.98 kB / 0.5685 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2991, allocations: 8.062 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2992, allocations: 4 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2992, allocations: 4 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2992, allocations: 0 / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.2995, allocations: 257.4 kB / 0.5687 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.2995, allocations: 19.84 kB / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.2995, allocations: 7.984 kB / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.2996, allocations: 4 kB / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.2996, allocations: 11.98 kB / 0.5688 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.2997, allocations: 4 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.2999, allocations: 205.5 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2999, allocations: 0 / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3001, allocations: 31.94 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002524/0.3026, allocations: 1.251 MB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3029, allocations: 95.83 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3029, allocations: 0 / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.303, allocations: 48.11 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3033, allocations: 42.97 kB / 0.5704 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.3056, allocations: 1.976 MB / 0.5723 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3057, allocations: 110.6 kB / 0.5724 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.3058, allocations: 25.08 kB / 0.5725 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.3059, allocations: 51.41 kB / 0.5725 GB, free: 8.477 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3059, allocations: 0 / 0.5725 GB, free: 8.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.33, allocations: 4.634 MB / 0.577 GB, free: 3.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.24, allocations: 14.12 kB / 0.577 GB, free: 3.875 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.018764369073324] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 11.461467249086127 11.476135051 11.179998233 Calling exit ...