Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001835/0.001835, 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.002134/0.002134, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.373/1.373, allocations: 230.5 MB / 258.2 MB, free: 7.758 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.2133/0.2133, allocations: 46.95 MB / 361.6 MB, free: 3.922 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 71.89 kB / 0.497 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2886, allocations: 66.08 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003173/0.2917, allocations: 1.79 MB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.2942, allocations: 1.731 MB / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.2943, allocations: 0 / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.2945, allocations: 47.64 kB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.2949, allocations: 151.4 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2951, allocations: 103.7 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.2954, allocations: 211.3 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.2955, allocations: 5.812 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2956, allocations: 83.62 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2958, allocations: 87.55 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2958, allocations: 8 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.296, allocations: 111.9 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.2961, allocations: 39.78 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.789e-05/0.2961, allocations: 51.72 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.2965, allocations: 228.9 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2965, allocations: 3.938 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2965, allocations: 0 / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2965, allocations: 4 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006869/0.2972, allocations: 428.9 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2972, allocations: 8.031 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.424e-05/0.2972, allocations: 4.188 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.2973, allocations: 30.75 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.2973, allocations: 16.84 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.2977, allocations: 198.1 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2977, allocations: 384 / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.2977, allocations: 4.375 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.298, allocations: 164.3 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.298, allocations: 0 / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.298, allocations: 4 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.298, allocations: 0 / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.2981, allocations: 35.95 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.2983, allocations: 185.6 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.2986, allocations: 101.2 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.2987, allocations: 41.69 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2987, allocations: 3.938 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.299, allocations: 117 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.299, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004788/0.2994, allocations: 181.4 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.2995, allocations: 136.5 kB / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.2998, allocations: 242.3 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2998, allocations: 29.7 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.2999, allocations: 124.1 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.2999, allocations: 27.75 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.3, allocations: 33.7 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3001, allocations: 326.8 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.3002, allocations: 35.91 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3004, allocations: 124.5 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3005, allocations: 99.38 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3005, allocations: 0 / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002804/0.3008, allocations: 141.4 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3008, allocations: 8 kB / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3009, allocations: 0 / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3009, allocations: 0 / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.301, allocations: 28.55 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.301, allocations: 0 / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.3011, allocations: 16.02 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3011, allocations: 4 kB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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.0001219/0.3012, allocations: 135.1 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.3012, allocations: 23.84 kB / 0.5689 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.3016, allocations: 162.7 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3016, allocations: 4 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3016, allocations: 0 / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3016, allocations: 3.938 kB / 0.5691 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3018, allocations: 200.5 kB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3018, allocations: 4 kB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.3019, allocations: 8 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3019, allocations: 3.938 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3019, allocations: 8 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3019, allocations: 0 / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3019, allocations: 0 / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3022, allocations: 181.8 kB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.3022, allocations: 27.84 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3023, allocations: 0 / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.3024, allocations: 8 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3024, allocations: 15.92 kB / 0.5695 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3024, allocations: 11.98 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.3026, allocations: 184.5 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3026, allocations: 0 / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3029, allocations: 59.8 kB / 0.5698 GB, free: 11.11 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002325/0.3052, allocations: 1.146 MB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.3055, allocations: 87.89 kB / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3055, allocations: 0 / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3056, allocations: 44.05 kB / 0.571 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.306, allocations: 51.28 kB / 0.5711 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.3083, allocations: 1.923 MB / 0.573 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.3083, allocations: 107.5 kB / 0.5731 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.373e-05/0.3084, allocations: 33.95 kB / 0.5731 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3085, allocations: 59.41 kB / 0.5731 GB, free: 7.691 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3085, allocations: 0 / 0.5731 GB, free: 7.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3369, allocations: 5.86 MB / 0.5789 GB, free: 1.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.29, allocations: 18.11 kB / 0.5789 GB, free: 1.859 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.078844250994734] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 11.505525231012143 11.520565449 11.220976469 Calling exit ...