Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001391, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2494/0.2494, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 80.19 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1001, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002692/0.1028, allocations: 1.739 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1042, allocations: 1.017 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.1043, allocations: 0 / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1045, allocations: 39.77 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1048, allocations: 99.53 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.105, allocations: 71.69 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1051, allocations: 111.7 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.203e-05/0.1052, allocations: 8 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.1053, allocations: 43.8 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.1054, allocations: 35.77 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1054, allocations: 4 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.1055, allocations: 43.98 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.1055, allocations: 19.94 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.1056, allocations: 39.72 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1057, allocations: 111.9 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1058, allocations: 4 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1058, allocations: 3.938 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1058, allocations: 0 / 483.5 MB, free: 1.777 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.0004289/0.1062, allocations: 407 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1062, allocations: 12.03 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.1063, allocations: 30.75 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.1063, allocations: 12.75 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1065, allocations: 208.1 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1065, allocations: 384 / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1065, allocations: 15.88 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1067, allocations: 57.67 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1067, allocations: 0 / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1067, allocations: 0 / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1067, allocations: 0 / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.1068, allocations: 19.98 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.1071, allocations: 288.9 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1072, allocations: 62.61 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.1073, allocations: 20.84 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1073, allocations: 4 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.1075, allocations: 63.39 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1075, allocations: 0 / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000451/0.108, allocations: 177.2 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.108, allocations: 59.34 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1082, allocations: 179.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1082, allocations: 29.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.1082, allocations: 108 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1083, allocations: 27.64 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1083, allocations: 21.66 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.1084, allocations: 330.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.1085, allocations: 23.92 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.1085, allocations: 33.7 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1086, allocations: 61.7 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1086, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.1088, allocations: 97.52 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1088, allocations: 8.031 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1088, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1089, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.1089, allocations: 15.98 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1089, allocations: 0 / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.109, allocations: 11.94 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.109, allocations: 4.156 kB / 485.9 MB, free: 15.18 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 7.776e-05/0.1091, allocations: 125.8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1091, allocations: 11.81 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.1092, allocations: 25.39 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1092, allocations: 3.984 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1092, allocations: 4.375 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1092, allocations: 3.938 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.1096, allocations: 395.3 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1096, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.1096, allocations: 8 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1096, allocations: 7.938 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1096, allocations: 4.031 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1096, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1096, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1099, allocations: 200.2 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.1099, allocations: 92.91 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1099, allocations: 7.938 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.11, allocations: 4 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.11, allocations: 11.92 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.11, allocations: 8 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.769e-05/0.1102, allocations: 136 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1102, allocations: 0 / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1104, allocations: 27.98 kB / 486.9 MB, free: 14.02 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.001245/0.1117, allocations: 1.087 MB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1118, allocations: 63.91 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1118, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/0.1119, allocations: 27.98 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1122, allocations: 34.86 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1136, allocations: 1.63 MB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1138, allocations: 0.7002 MB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.1139, allocations: 20.88 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.114, allocations: 35.42 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.114, allocations: 0 / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1576/0.2715, allocations: 3.31 MB / 493.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.406, allocations: 22.14 kB / 493.8 MB, free: 7.195 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches