Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001724/0.001724, 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.002014/0.002014, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.365/1.365, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.2163/0.2163, allocations: 46.95 MB / 361.6 MB, free: 3.934 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 76.11 kB / 0.497 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2785, allocations: 66.09 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003371/0.2818, allocations: 1.712 MB / 0.5632 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2836, allocations: 0.9593 MB / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.2837, allocations: 0 / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.284, allocations: 87.69 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.2843, allocations: 119.5 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.2845, allocations: 75.73 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.2846, allocations: 123.6 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.2847, allocations: 5.828 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.2849, allocations: 59.77 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2851, allocations: 63.75 kB / 0.5646 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2851, allocations: 8 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.2852, allocations: 47.97 kB / 0.5647 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.2852, allocations: 23.92 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.2853, allocations: 27.75 kB / 0.5647 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.2855, allocations: 123.4 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2855, allocations: 4 kB / 0.5648 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2855, allocations: 0 / 0.5648 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2855, allocations: 0 / 0.5648 GB, free: 0.5703 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.0005524/0.2861, allocations: 353.5 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2861, allocations: 8.031 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.261e-05/0.2861, allocations: 4.188 kB / 0.5652 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.2861, allocations: 38.75 kB / 0.5652 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.2862, allocations: 16.78 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.2866, allocations: 162.2 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2866, allocations: 4.375 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.2866, allocations: 384 / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2867, allocations: 65.61 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2868, allocations: 0 / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2868, allocations: 0 / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2868, allocations: 0 / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.2868, allocations: 19.98 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.2873, allocations: 271.9 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.2874, allocations: 58.59 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.2875, allocations: 24.84 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2875, allocations: 0 / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.2877, allocations: 67.39 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2877, allocations: 0 / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.2882, allocations: 181.3 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2882, allocations: 51.41 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.2885, allocations: 231.5 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.2885, allocations: 37.64 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.2886, allocations: 104.1 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.2886, allocations: 31.72 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.2886, allocations: 21.72 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2888, allocations: 330.8 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.2889, allocations: 23.98 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.2889, allocations: 33.7 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.2891, allocations: 61.77 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2891, allocations: 4 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.2893, allocations: 113.5 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2893, allocations: 8 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2893, allocations: 0 / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2893, allocations: 0 / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.2894, allocations: 15.98 kB / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2894, allocations: 7.938 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.2894, allocations: 4 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.2895, allocations: 7.938 kB / 0.5671 GB, free: 14.04 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.0001278/0.2896, allocations: 139.1 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.2896, allocations: 11.91 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.2899, allocations: 127 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2899, allocations: 0 / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2899, allocations: 0 / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2899, allocations: 0 / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.2905, allocations: 378.7 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2905, allocations: 0 / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.2905, allocations: 15.98 kB / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2905, allocations: 4.031 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2906, allocations: 11.92 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2906, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2906, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.2908, allocations: 216.5 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.2909, allocations: 19.89 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.2909, allocations: 7.938 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.291, allocations: 0 / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.291, allocations: 7.984 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.291, allocations: 8 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.2912, allocations: 177.1 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2912, allocations: 4 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.2914, allocations: 27.94 kB / 0.5682 GB, free: 12.82 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.00244/0.2939, allocations: 1.134 MB / 0.5693 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.2941, allocations: 55.92 kB / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2941, allocations: 0 / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.2941, allocations: 31.98 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.2945, allocations: 31.72 kB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.2964, allocations: 1.711 MB / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2965, allocations: 108.7 kB / 0.5712 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.726e-05/0.2966, allocations: 13.28 kB / 0.5712 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.2967, allocations: 39.42 kB / 0.5713 GB, free: 9.738 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2967, allocations: 0 / 0.5713 GB, free: 9.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.3198, allocations: 3.932 MB / 0.5751 GB, free: 5.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.11, allocations: 3.938 kB / 0.5751 GB, free: 5.84 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.96665177505929] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.321207926026545 11.348496844 11.058371578 Calling exit ...