Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1981/0.1981, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 78.42 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09374, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002823/0.0966, allocations: 1.728 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.09876, allocations: 1.627 MB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.09885, allocations: 4 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.09911, allocations: 35.77 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.09942, allocations: 103.5 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.09964, allocations: 75.69 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.09981, allocations: 111.7 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.0999, allocations: 8 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.09999, allocations: 47.78 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1001, allocations: 43.78 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1002, allocations: 4 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.1004, allocations: 107.9 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.1004, allocations: 23.91 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.1005, allocations: 31.81 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1007, allocations: 163.8 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1007, allocations: 0 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1007, allocations: 7.938 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1007, allocations: 4 kB / 484.2 MB, free: 1.051 MB / 350.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.0005137/0.1013, allocations: 427 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1013, allocations: 12.03 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.1013, allocations: 30.75 kB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.1014, allocations: 8.844 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1016, allocations: 216.4 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1016, allocations: 4 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1016, allocations: 7.938 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1018, allocations: 83.3 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1018, allocations: 0 / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1018, allocations: 0 / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.1018, allocations: 0 / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.1019, allocations: 19.98 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.1023, allocations: 284.9 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1024, allocations: 62.61 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.1025, allocations: 16.86 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1025, allocations: 3.984 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1027, allocations: 67.39 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1027, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005018/0.1032, allocations: 177.2 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1033, allocations: 85.03 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1034, allocations: 161.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1034, allocations: 33.7 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1035, allocations: 92.14 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1035, allocations: 31.62 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1036, allocations: 21.72 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.1037, allocations: 326.8 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.1037, allocations: 23.92 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.1038, allocations: 46.5 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1039, allocations: 54.09 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1039, allocations: 0 / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1041, allocations: 105.6 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1042, allocations: 14.41 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1042, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1042, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.1043, allocations: 19.92 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1043, allocations: 4 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.1043, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1044, allocations: 4 kB / 486.6 MB, free: 14.4 MB / 366.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 8.794e-05/0.1044, allocations: 128.6 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1045, allocations: 15.8 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.1045, allocations: 16.72 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1045, allocations: 3.938 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1045, allocations: 192 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1046, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.105, allocations: 399.2 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.105, allocations: 3.938 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.105, allocations: 11.98 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1051, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1051, allocations: 4.031 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1051, allocations: 4 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1051, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1053, allocations: 200.2 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.1054, allocations: 92.94 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1054, allocations: 4 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1055, allocations: 8 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1055, allocations: 7.969 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1056, allocations: 4 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1057, allocations: 127.2 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1057, allocations: 0 / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000301/0.106, allocations: 51.92 kB / 487.7 MB, free: 13.23 MB / 366.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.00166/0.1076, allocations: 1.171 MB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1078, allocations: 63.91 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1079, allocations: 4.062 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1079, allocations: 23.98 kB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1083, allocations: 37.33 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1098, allocations: 1.576 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1101, allocations: 0.7012 MB / 491.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.185e-05/0.1102, allocations: 25.16 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1102, allocations: 35.42 kB / 491.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1103, allocations: 0 / 491.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.13, allocations: 3.93 MB / 495.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.114, allocations: 7.312 kB / 495.3 MB, free: 5.785 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)