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.001312/0.001312, allocations: 108.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1979/0.1979, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 79.34 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09612, allocations: 62.44 MB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002691/0.09884, allocations: 1.796 MB / 481.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.1009, allocations: 1.608 MB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.694e-05/0.101, allocations: 0 / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1012, allocations: 31.84 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1015, allocations: 79.73 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.1016, allocations: 67.83 kB / 483 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1018, allocations: 107.6 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.1019, allocations: 8 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.1019, allocations: 43.78 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1021, allocations: 47.7 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1021, allocations: 0 / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1023, allocations: 99.88 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.1023, allocations: 15.92 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.1024, allocations: 39.78 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1026, allocations: 175.8 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1027, allocations: 0 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1027, allocations: 0 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1027, allocations: 0 / 483.5 MB, free: 1.457 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.0005003/0.1032, allocations: 423.1 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1032, allocations: 8.875 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.1032, allocations: 34.75 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1033, allocations: 12.84 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1035, allocations: 219.4 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1035, allocations: 4 kB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1036, allocations: 3.938 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1037, allocations: 67.39 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1037, allocations: 0 / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1038, allocations: 0 / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.1038, allocations: 0 / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.1039, allocations: 19.98 kB / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.1042, allocations: 296.9 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1044, allocations: 54.62 kB / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1045, allocations: 20.84 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1045, allocations: 8 kB / 484.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.1047, allocations: 67.33 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1047, allocations: 0 / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005575/0.1052, allocations: 177.1 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1053, allocations: 81.05 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1055, allocations: 162.5 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1055, allocations: 29.7 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.1055, allocations: 96.12 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.1056, allocations: 27.66 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1056, allocations: 33.64 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.1057, allocations: 314.8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.1058, allocations: 19.98 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.1059, allocations: 50.5 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.106, allocations: 58.11 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.106, allocations: 0 / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1062, allocations: 105.5 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1062, allocations: 4 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1062, allocations: 4 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1062, allocations: 3.984 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.1063, allocations: 19.94 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1063, allocations: 3.938 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.1064, allocations: 4 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1064, allocations: 8.016 kB / 485.9 MB, free: 14.81 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.53e-05/0.1065, allocations: 125.8 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1065, allocations: 11.81 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1066, allocations: 12.88 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1066, allocations: 3.938 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1066, allocations: 4 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1066, allocations: 3.984 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.107, allocations: 399.3 kB / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.107, allocations: 3.938 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.1071, allocations: 8 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1071, allocations: 0 / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1071, allocations: 4 kB / 486.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1071, allocations: 0 / 486.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1071, allocations: 0 / 486.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1073, allocations: 208.2 kB / 486.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1074, allocations: 92.89 kB / 486.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1074, allocations: 4 kB / 486.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.1075, allocations: 4 kB / 486.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1076, allocations: 7.984 kB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1076, allocations: 4 kB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1077, allocations: 126.5 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1077, allocations: 0 / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.108, allocations: 47.98 kB / 486.9 MB, free: 13.65 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.001566/0.1096, allocations: 1.185 MB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1098, allocations: 59.91 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1098, allocations: 0 / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1099, allocations: 27.98 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1102, allocations: 23.98 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1118, allocations: 1.603 MB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.112, allocations: 0.7015 MB / 490.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.832e-05/0.1121, allocations: 21.17 kB / 490.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.1122, allocations: 35.41 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1122, allocations: 0 / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.1273, allocations: 3.772 MB / 494.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.1275, allocations: 244.5 kB / 494.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/1.993, allocations: 0 / 494.6 MB, free: 6.121 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)