Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.001776/0.001776, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002177/0.002177, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 8 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.2203/0.2203, allocations: 46.92 MB / 361.6 MB, free: 4.172 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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 79.88 kB / 0.497 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2992, allocations: 66.07 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003262/0.3025, allocations: 1.741 MB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3042, allocations: 1.049 MB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.3043, allocations: 0 / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.3046, allocations: 47.75 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.3049, allocations: 95.55 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3052, allocations: 83.66 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3054, allocations: 99.69 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3055, allocations: 13.83 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3056, allocations: 47.78 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.3057, allocations: 35.78 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3057, allocations: 4 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3058, allocations: 43.92 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.3059, allocations: 23.91 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.3059, allocations: 35.73 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.3062, allocations: 123.5 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3062, allocations: 0 / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3062, allocations: 0 / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3062, allocations: 0 / 0.5649 GB, free: 0.8359 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.0005456/0.3068, allocations: 353.5 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3068, allocations: 8.031 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.3068, allocations: 192 / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.3068, allocations: 38.69 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3069, allocations: 8.891 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3072, allocations: 162.9 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3072, allocations: 384 / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3072, allocations: 8.375 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3074, allocations: 57.61 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3074, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3074, allocations: 3.984 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3074, allocations: 0 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.3075, allocations: 19.98 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.3078, allocations: 259.9 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.308, allocations: 54.69 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.3081, allocations: 20.84 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3081, allocations: 0 / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.3082, allocations: 71.33 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3082, allocations: 3.938 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000518/0.3088, allocations: 177.3 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.3088, allocations: 55.41 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.309, allocations: 206.2 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.309, allocations: 25.7 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.3091, allocations: 104.1 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3091, allocations: 27.78 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.3092, allocations: 25.7 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3093, allocations: 326.8 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.3094, allocations: 24 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.3094, allocations: 34.08 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3095, allocations: 61.64 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3095, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.3098, allocations: 105.6 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3098, allocations: 6.031 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3098, allocations: 4.031 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3098, allocations: 4 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.3099, allocations: 15.94 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3099, allocations: 0 / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.3099, allocations: 11.98 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.31, allocations: 3.938 kB / 0.5671 GB, free: 14.39 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.0001107/0.3101, allocations: 125.4 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3101, allocations: 11.91 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.3103, allocations: 119 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3103, allocations: 4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3103, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3103, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.3108, allocations: 370.6 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3108, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.3108, allocations: 8 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3108, allocations: 0 / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3109, allocations: 7.938 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3109, allocations: 4.031 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3109, allocations: 0 / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.3111, allocations: 216.3 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.3111, allocations: 7.953 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3112, allocations: 12.06 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.3112, allocations: 4 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3113, allocations: 15.92 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3113, allocations: 0 / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3114, allocations: 152.2 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3114, allocations: 0 / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3117, allocations: 23.94 kB / 0.5681 GB, free: 13.24 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.002141/0.3138, allocations: 1.085 MB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.314, allocations: 51.98 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.314, allocations: 8.062 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.3141, allocations: 27.91 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3144, allocations: 39.91 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.3163, allocations: 1.65 MB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3166, allocations: 0.708 MB / 0.5716 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.3167, allocations: 20.95 kB / 0.5716 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.3168, allocations: 35.42 kB / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3168, allocations: 0 / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.3395, allocations: 3.649 MB / 0.5752 GB, free: 6.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.85, allocations: 2.344 kB / 0.5752 GB, free: 6.031 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.726693184988108] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.064863550011069 11.081239747 10.771904882 Calling exit ...