Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001348/0.001348, 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.001483/0.001483, 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.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 7.773 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.2173/0.2173, allocations: 46.94 MB / 361.6 MB, free: 3.918 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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 71.88 kB / 0.497 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2828, allocations: 66.08 MB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003187/0.286, allocations: 1.712 MB / 0.5632 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2876, allocations: 0.9709 MB / 0.5641 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.2877, allocations: 4 kB / 0.5641 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.288, allocations: 43.77 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.2883, allocations: 99.59 kB / 0.5643 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.2884, allocations: 79.67 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.2886, allocations: 107.6 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.2887, allocations: 13.81 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.2888, allocations: 39.8 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.2889, allocations: 31.78 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2889, allocations: 4 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.289, allocations: 39.98 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.289, allocations: 23.92 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.2891, allocations: 35.73 kB / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2893, allocations: 123.4 kB / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2893, allocations: 4 kB / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2893, allocations: 0 / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2893, allocations: 0 / 0.5647 GB, free: 0.6641 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.0005593/0.2899, allocations: 353.5 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2899, allocations: 8.031 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.04e-05/0.2899, allocations: 12.19 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.29, allocations: 34.73 kB / 0.5651 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.29, allocations: 8.891 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.2903, allocations: 158.3 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2903, allocations: 4.375 kB / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2903, allocations: 8.312 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2905, allocations: 61.66 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2905, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2905, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2905, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.2906, allocations: 19.94 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.291, allocations: 263.9 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2911, allocations: 58.62 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.2912, allocations: 24.84 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.2912, allocations: 0 / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.2914, allocations: 67.39 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 6.142e-06/0.2914, allocations: 3.984 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.2919, allocations: 189.3 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.292, allocations: 63.34 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.2922, allocations: 218.2 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2922, allocations: 25.7 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.2923, allocations: 104.1 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2923, allocations: 23.84 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.2923, allocations: 29.66 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2925, allocations: 326.8 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.2925, allocations: 27.92 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.2926, allocations: 37.7 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.2927, allocations: 61.7 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2927, allocations: 0 / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.2929, allocations: 109.5 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.293, allocations: 7.984 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.293, allocations: 4.406 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.293, allocations: 0 / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.2931, allocations: 16 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2931, allocations: 0 / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.2931, allocations: 11.92 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2931, allocations: 7.938 kB / 0.567 GB, free: 14.15 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.0001065/0.2932, allocations: 131.1 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.2933, allocations: 11.91 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.2935, allocations: 131.1 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2935, allocations: 0 / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2935, allocations: 4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2935, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.294, allocations: 374.4 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.294, allocations: 0 / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.294, allocations: 12 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.294, allocations: 0 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.294, allocations: 7.922 kB / 0.5676 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.294, allocations: 0 / 0.5676 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.294, allocations: 4 kB / 0.5676 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.2943, allocations: 224.5 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.2943, allocations: 7.953 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.2943, allocations: 3.938 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.2944, allocations: 7.984 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.2944, allocations: 7.938 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2945, allocations: 7.984 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.2946, allocations: 156.3 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2946, allocations: 0 / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.2948, allocations: 24 kB / 0.5681 GB, free: 12.97 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.002298/0.2971, allocations: 1.131 MB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.2974, allocations: 59.91 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2974, allocations: 0 / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.915e-05/0.2975, allocations: 28.11 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.2979, allocations: 27.98 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3, allocations: 1.697 MB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3001, allocations: 96.61 kB / 0.571 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.3002, allocations: 32.88 kB / 0.571 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.3003, allocations: 35.42 kB / 0.5711 GB, free: 9.906 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3003, allocations: 0 / 0.5711 GB, free: 9.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.3229, allocations: 3.86 MB / 0.5749 GB, free: 6.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.13, allocations: 11.94 kB / 0.5749 GB, free: 6.07 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.92361257597804] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.341137164039537 11.357157533 11.064456608 Calling exit ...