Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001271/0.001271, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001444/0.001444, allocations: 204.7 kB / 24.51 MB, free: 3.945 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.416/1.416, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2187/0.2187, allocations: 46.96 MB / 361.6 MB, free: 3.926 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 79.88 kB / 0.497 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3221, allocations: 66.08 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003103/0.3252, allocations: 1.722 MB / 0.5632 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3269, allocations: 0.9748 MB / 0.5641 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.3269, allocations: 7.938 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.3272, allocations: 83.7 kB / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.3276, allocations: 115.6 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3278, allocations: 87.66 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3279, allocations: 119.6 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3281, allocations: 25.72 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.3281, allocations: 51.78 kB / 0.5646 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3282, allocations: 59.81 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3283, allocations: 4 kB / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3284, allocations: 67.95 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.3284, allocations: 23.86 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3285, allocations: 31.75 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3287, allocations: 143.4 kB / 0.5649 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3287, allocations: 4 kB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3287, allocations: 0 / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3287, allocations: 4 kB / 0.5649 GB, free: 496 kB / 398.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.0005383/0.3293, allocations: 365.4 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3293, allocations: 12.03 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.583e-05/0.3293, allocations: 4.125 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.3294, allocations: 34.75 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.3294, allocations: 16.84 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.3296, allocations: 154.2 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3297, allocations: 8.375 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3297, allocations: 4.375 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3298, allocations: 65.59 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3299, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3299, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3299, allocations: 4 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.33, allocations: 27.97 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.3304, allocations: 271.8 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.3306, allocations: 54.55 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.3307, allocations: 24.97 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3307, allocations: 4 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.3308, allocations: 71.38 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3308, allocations: 0 / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007688/0.3316, allocations: 257.7 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3316, allocations: 55.41 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3319, allocations: 231.4 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3319, allocations: 25.7 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.332, allocations: 112.1 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.332, allocations: 31.75 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.3321, allocations: 33.7 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3322, allocations: 322.8 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.3323, allocations: 31.98 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.3324, allocations: 45.7 kB / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3325, allocations: 81.64 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3325, allocations: 0 / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002358/0.3327, allocations: 137.5 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3328, allocations: 4 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3328, allocations: 4.031 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3328, allocations: 3.938 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.3329, allocations: 27.92 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3329, allocations: 3.938 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3329, allocations: 4 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3329, allocations: 7.984 kB / 0.5674 GB, free: 13.78 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 (13): * Single equations (assignments): 13 * 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.0001197/0.333, allocations: 131.1 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.3331, allocations: 15.91 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.3334, allocations: 155.1 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3334, allocations: 8 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3334, allocations: 3.938 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3334, allocations: 3.984 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.3339, allocations: 419.2 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.334, allocations: 3.938 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.334, allocations: 15.98 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.334, allocations: 0 / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.334, allocations: 11.98 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.334, allocations: 0 / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.334, allocations: 8 kB / 0.5681 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.3343, allocations: 249.1 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.3344, allocations: 15.84 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3344, allocations: 4 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3345, allocations: 7.984 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3345, allocations: 7.984 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3345, allocations: 4 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3347, allocations: 173.1 kB / 0.5685 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3347, allocations: 0 / 0.5685 GB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.3349, allocations: 35.92 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002432/0.3374, allocations: 1.22 MB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3376, allocations: 79.91 kB / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3376, allocations: 0 / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.3377, allocations: 43.91 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3381, allocations: 27.73 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3402, allocations: 1.837 MB / 0.5717 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3403, allocations: 97.95 kB / 0.5718 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.3403, allocations: 20.38 kB / 0.5718 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.3404, allocations: 51.41 kB / 0.5719 GB, free: 9.117 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3404, allocations: 0 / 0.5719 GB, free: 9.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.3635, allocations: 4.244 MB / 0.576 GB, free: 4.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.1, allocations: 11.61 kB / 0.576 GB, free: 4.906 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.947014512959868] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.31671067501884 11.33225494 11.000547225 Calling exit ...