Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001289/0.001289, 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.00141/0.00141, allocations: 216.5 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2202/0.2202, 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.88 kB / 0.497 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3198, allocations: 66.08 MB / 0.5616 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003356/0.3231, allocations: 1.741 MB / 0.5633 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3249, allocations: 1.053 MB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.325, allocations: 3.938 kB / 0.5643 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.3253, allocations: 35.84 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.3256, allocations: 99.53 kB / 0.5644 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.3258, allocations: 83.66 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.326, allocations: 103.7 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3261, allocations: 10.11 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3262, allocations: 47.77 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.3263, allocations: 35.8 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3263, allocations: 8 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.3264, allocations: 43.97 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.3265, allocations: 15.92 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3265, allocations: 31.75 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3268, allocations: 127.4 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3268, allocations: 0 / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3268, allocations: 0 / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3268, allocations: 0 / 0.5649 GB, free: 0.9531 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.0005774/0.3274, allocations: 349.5 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3274, allocations: 8.031 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.394e-05/0.3274, allocations: 4.188 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.3274, allocations: 38.73 kB / 0.5653 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.3275, allocations: 8.891 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3278, allocations: 162.9 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3278, allocations: 384 / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3278, allocations: 4.375 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.328, allocations: 57.61 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.328, allocations: 3.938 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.328, allocations: 4 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.328, allocations: 4 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.3281, allocations: 15.98 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.3285, allocations: 260 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3287, allocations: 50.67 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.3287, allocations: 32.72 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3288, allocations: 0 / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.3289, allocations: 67.39 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3289, allocations: 0 / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000535/0.3295, allocations: 177.5 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3295, allocations: 63.33 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.3298, allocations: 206.3 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3298, allocations: 25.7 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.3299, allocations: 100.1 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.3299, allocations: 27.78 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.3299, allocations: 21.72 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3301, allocations: 326.8 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.3302, allocations: 23.98 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.3302, allocations: 33.7 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3304, allocations: 69.64 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3304, allocations: 0 / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.3306, allocations: 97.53 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3306, allocations: 4 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3306, allocations: 4 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3306, allocations: 0 / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.3307, allocations: 15.98 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3307, allocations: 4.031 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3307, allocations: 8 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3307, allocations: 7.938 kB / 0.5671 GB, free: 14.51 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.0001268/0.3309, allocations: 123.1 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3309, allocations: 11.91 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.3312, allocations: 123 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3312, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3312, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3312, allocations: 4 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.3317, allocations: 366.6 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3317, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.3317, allocations: 11.98 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3317, allocations: 0 / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3317, allocations: 7.938 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3317, allocations: 3.938 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3317, allocations: 0 / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.332, allocations: 212.3 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.332, allocations: 7.953 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.3321, allocations: 15.92 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.3321, allocations: 0 / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3322, allocations: 8.172 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3322, allocations: 7.984 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.3323, allocations: 156.2 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3323, allocations: 0 / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3326, allocations: 23.94 kB / 0.5681 GB, free: 13.35 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.002279/0.3349, allocations: 1.09 MB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3351, allocations: 59.91 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3351, allocations: 3.938 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.3351, allocations: 23.98 kB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3355, allocations: 32.05 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3375, allocations: 1.653 MB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3379, allocations: 0.7041 MB / 0.5716 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.233e-05/0.338, allocations: 20.95 kB / 0.5716 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.3381, allocations: 35.42 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3381, allocations: 3.938 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.362, allocations: 3.644 MB / 0.5752 GB, free: 6.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.94, allocations: 6.562 kB / 0.5752 GB, free: 6.148 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.782808664022014] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.153006153996103 11.168831796 10.838938393 Calling exit ...