Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001257/0.001257, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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: 207.6 kB / 24.53 MB, free: 4.066 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.378/1.378, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2159/0.2159, allocations: 46.94 MB / 361.6 MB, free: 4.254 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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 75.88 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2842, allocations: 66.08 MB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003219/0.2874, allocations: 1.745 MB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.2891, allocations: 1.049 MB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.2892, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.2895, allocations: 55.7 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.2898, allocations: 99.53 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.29, allocations: 75.73 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.2902, allocations: 107.7 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.2903, allocations: 9.969 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2904, allocations: 47.72 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.2905, allocations: 35.84 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2905, allocations: 4 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.2906, allocations: 47.92 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.2906, allocations: 19.92 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.2907, allocations: 43.66 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.2909, allocations: 131.4 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2909, allocations: 0 / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2909, allocations: 0 / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2909, allocations: 0 / 0.5649 GB, free: 0.7695 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.0005106/0.2914, allocations: 361.4 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2915, allocations: 8.031 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.362e-05/0.2915, allocations: 4.188 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.2915, allocations: 46.67 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2916, allocations: 8.891 kB / 0.5653 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.2918, allocations: 155.1 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2918, allocations: 8.375 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2919, allocations: 4.312 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.292, allocations: 65.61 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.292, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.292, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.292, allocations: 4 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.679e-05/0.2921, allocations: 23.92 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.2925, allocations: 267.9 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.2926, allocations: 46.69 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.2927, allocations: 20.84 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.2927, allocations: 4 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.2929, allocations: 71.33 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2929, allocations: 3.938 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005107/0.2934, allocations: 177.3 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2934, allocations: 63.41 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.2937, allocations: 231 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2937, allocations: 33.7 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.2938, allocations: 112.1 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.2938, allocations: 31.77 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.2938, allocations: 21.72 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.294, allocations: 330.8 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.294, allocations: 19.98 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.2941, allocations: 37.7 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2942, allocations: 61.64 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2942, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.2944, allocations: 105.7 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2944, allocations: 4 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.2944, allocations: 4 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2944, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.2945, allocations: 19.92 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2945, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.2946, allocations: 8.031 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2946, allocations: 7.938 kB / 0.5672 GB, free: 14.23 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.0001143/0.2947, allocations: 131.1 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.2947, allocations: 11.91 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.295, allocations: 127 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.295, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.295, allocations: 3.938 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.295, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.2954, allocations: 374.7 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2954, allocations: 0 / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.2955, allocations: 12 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2955, allocations: 0 / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2955, allocations: 11.94 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2955, allocations: 0 / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2955, allocations: 0 / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.2957, allocations: 212.2 kB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.2958, allocations: 11.91 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.2958, allocations: 12.12 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.2958, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.2959, allocations: 11.92 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2959, allocations: 4 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.2961, allocations: 175.2 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2961, allocations: 4 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.2963, allocations: 27.94 kB / 0.5683 GB, free: 13.04 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.002096/0.2984, allocations: 1.088 MB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.2986, allocations: 59.97 kB / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2986, allocations: 0 / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/0.2987, allocations: 23.92 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.299, allocations: 31.73 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.301, allocations: 1.755 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3013, allocations: 0.7079 MB / 0.5719 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.3014, allocations: 21.28 kB / 0.5719 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.3015, allocations: 39.42 kB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3015, allocations: 0 / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.3237, allocations: 3.823 MB / 0.5757 GB, free: 5.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.95, allocations: 6.625 kB / 0.5757 GB, free: 5.559 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.747632914048154] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.15796737902565 11.182228765 10.886359769 Calling exit ...