Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 80.45 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09978, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002731/0.1026, allocations: 1.735 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.104, allocations: 1.021 MB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.1041, allocations: 0 / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1044, allocations: 59.73 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.1047, allocations: 103.5 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1049, allocations: 75.66 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1051, allocations: 103.7 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.1052, allocations: 11.98 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.1053, allocations: 43.78 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.1053, allocations: 27.8 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1054, allocations: 4 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.1055, allocations: 47.97 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.1055, allocations: 31.92 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1056, allocations: 43.62 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1058, allocations: 139.7 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1058, allocations: 0 / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1058, allocations: 0 / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1058, allocations: 0 / 483.6 MB, free: 1.738 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.0004792/0.1063, allocations: 450.7 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1063, allocations: 8.031 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1064, allocations: 34.75 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1064, allocations: 16.75 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1066, allocations: 213 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1066, allocations: 4.375 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1067, allocations: 7.938 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1068, allocations: 57.61 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1068, allocations: 0 / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1068, allocations: 3.984 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1068, allocations: 4 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.1069, allocations: 12 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.1072, allocations: 304.9 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1074, allocations: 62.61 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.1074, allocations: 20.8 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1075, allocations: 3.984 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.1076, allocations: 71.39 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1076, allocations: 0 / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000481/0.1081, allocations: 181 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1082, allocations: 55.39 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.1084, allocations: 270.9 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1084, allocations: 29.7 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.1085, allocations: 112.1 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1085, allocations: 27.66 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.1085, allocations: 25.7 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.1086, allocations: 326.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.1087, allocations: 23.92 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.1088, allocations: 33.7 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1089, allocations: 65.69 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1089, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.1091, allocations: 101.8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1091, allocations: 6.344 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1091, allocations: 192 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1091, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.1092, allocations: 31.92 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1092, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.1093, allocations: 3.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.1093, allocations: 4 kB / 486.1 MB, free: 14.97 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 9.208e-05/0.1094, allocations: 141.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.1094, allocations: 15.81 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.1094, allocations: 21.39 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1095, allocations: 3.984 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1095, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1095, allocations: 3.938 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1099, allocations: 411.2 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1099, allocations: 4.031 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.1099, allocations: 8 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1099, allocations: 7.922 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1099, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1099, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1099, allocations: 3.938 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1102, allocations: 208.4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.1102, allocations: 85.02 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1102, allocations: 11.94 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.1103, allocations: 3.984 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.1103, allocations: 4 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1104, allocations: 4 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1105, allocations: 208.4 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1105, allocations: 0 / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1108, allocations: 28 kB / 487.2 MB, free: 13.71 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.00126/0.112, allocations: 1.096 MB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1122, allocations: 59.92 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1122, allocations: 0 / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.1123, allocations: 27.98 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1126, allocations: 31.72 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.1142, allocations: 1.827 MB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1145, allocations: 0.7158 MB / 491 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.1145, allocations: 21.17 kB / 491 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.1146, allocations: 43.42 kB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1146, allocations: 0 / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08284/0.1974, allocations: 3.72 MB / 494.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/8.902, allocations: 10.19 kB / 494.8 MB, free: 6.254 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_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_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches