Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001255/0.001255, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001381/0.001381, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.2138/0.2138, allocations: 46.96 MB / 361.6 MB, free: 3.953 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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 79.88 kB / 0.497 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2867, allocations: 66.08 MB / 0.5615 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003068/0.2898, allocations: 1.698 MB / 0.5632 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2922, allocations: 1.66 MB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.2922, allocations: 0 / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.2925, allocations: 39.78 kB / 0.5648 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.2928, allocations: 99.53 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.293, allocations: 83.66 kB / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.2932, allocations: 115.6 kB / 0.5651 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.2932, allocations: 10.09 kB / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.2933, allocations: 43.8 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2934, allocations: 51.7 kB / 0.5652 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2934, allocations: 4 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2936, allocations: 103.9 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.2937, allocations: 19.92 kB / 0.5653 GB, free: 280 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.2937, allocations: 31.8 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.294, allocations: 167.4 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.294, allocations: 0 / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.294, allocations: 0 / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.294, allocations: 4 kB / 0.5655 GB, free: 76 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.0005354/0.2945, allocations: 349.6 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2946, allocations: 12.03 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.174e-05/0.2946, allocations: 4.188 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.2946, allocations: 34.73 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.2946, allocations: 20.78 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.2949, allocations: 150.9 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2949, allocations: 8.125 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2949, allocations: 0 / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.2951, allocations: 101.1 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2951, allocations: 4 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2951, allocations: 0 / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2951, allocations: 4 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.2952, allocations: 19.92 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.2956, allocations: 252 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.2957, allocations: 58.67 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.2958, allocations: 20.84 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2958, allocations: 0 / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.296, allocations: 79.27 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.296, allocations: 0 / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.2965, allocations: 185.3 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.2966, allocations: 77.11 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.2967, allocations: 170.4 kB / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2968, allocations: 29.7 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.2968, allocations: 100.1 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.2969, allocations: 31.73 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.2969, allocations: 17.72 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.297, allocations: 322.8 kB / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.2971, allocations: 27.98 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.2972, allocations: 72.2 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.2973, allocations: 65.64 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2973, allocations: 0 / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.2975, allocations: 93.64 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2975, allocations: 4 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2975, allocations: 384 / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2975, allocations: 3.984 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.2976, allocations: 24 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.2976, allocations: 7.938 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.2977, allocations: 8 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2977, allocations: 0 / 0.5678 GB, free: 13.52 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.0001017/0.2978, allocations: 125.5 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.2978, allocations: 7.953 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.2981, allocations: 122.3 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2981, allocations: 4 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2981, allocations: 3.938 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2981, allocations: 0 / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.2986, allocations: 378.5 kB / 0.5684 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2986, allocations: 0 / 0.5684 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.2986, allocations: 8 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.2986, allocations: 7.938 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2986, allocations: 7.938 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2986, allocations: 0 / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2986, allocations: 0 / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.2989, allocations: 216.3 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.2989, allocations: 15.83 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.2989, allocations: 12.41 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.299, allocations: 0 / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.299, allocations: 7.984 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2991, allocations: 7.984 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2992, allocations: 143.8 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2992, allocations: 0 / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.2995, allocations: 47.81 kB / 0.5688 GB, free: 12.34 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.00246/0.3019, allocations: 1.218 MB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3021, allocations: 63.89 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3021, allocations: 4 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.3022, allocations: 27.92 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3026, allocations: 34.09 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3044, allocations: 1.601 MB / 0.5717 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.933e-05/0.3044, allocations: 89.25 kB / 0.5718 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.3045, allocations: 16.97 kB / 0.5718 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.3046, allocations: 35.42 kB / 0.5719 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3046, allocations: 4 kB / 0.5719 GB, free: 9.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.3297, allocations: 4.412 MB / 0.5762 GB, free: 4.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.21, allocations: 2.406 kB / 0.5762 GB, free: 4.93 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.961368763935752] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.421860028989613 11.437312386 11.140231268 Calling exit ...