Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1939/0.1939, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 68.02 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09524, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003569/0.09885, allocations: 1.934 MB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1006, allocations: 1.06 MB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1008, allocations: 7.938 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006602/0.1014, allocations: 195.4 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.1018, allocations: 147.4 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.1024, allocations: 230.5 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.1027, allocations: 255.3 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1028, allocations: 21.69 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.103, allocations: 107.5 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1032, allocations: 107.6 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.1032, allocations: 8 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1034, allocations: 63.91 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.1035, allocations: 43.84 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.1036, allocations: 83.47 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1039, allocations: 235.4 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1039, allocations: 0 / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1039, allocations: 0 / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1039, allocations: 0 / 473.8 MB, free: 9.785 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007647/0.1047, allocations: 0.5389 MB / 474.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1047, allocations: 12.03 kB / 474.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.1047, allocations: 38.75 kB / 474.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1048, allocations: 24.66 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1052, allocations: 279.6 kB / 474.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1052, allocations: 8.312 kB / 474.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1052, allocations: 7.938 kB / 474.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.1054, allocations: 96.22 kB / 474.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1054, allocations: 4 kB / 474.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1055, allocations: 8 kB / 474.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1055, allocations: 0 / 474.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1056, allocations: 39.91 kB / 474.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.1061, allocations: 377.5 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1064, allocations: 121.2 kB / 475.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.1065, allocations: 49.69 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1065, allocations: 0 / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.1068, allocations: 117 kB / 475.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.1068, allocations: 3.938 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004299/0.1072, allocations: 177.7 kB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.1073, allocations: 114.8 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.1076, allocations: 327 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1076, allocations: 33.7 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.1077, allocations: 148 kB / 476.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1078, allocations: 19.8 kB / 476.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.1078, allocations: 37.64 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1079, allocations: 338.8 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.108, allocations: 31.98 kB / 476.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1082, allocations: 81.06 kB / 476.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1084, allocations: 95.39 kB / 476.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1084, allocations: 0 / 476.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002728/0.1087, allocations: 145.3 kB / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1087, allocations: 4 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1087, allocations: 8.062 kB / 477.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1087, allocations: 0 / 477.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1088, allocations: 23.92 kB / 477.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1088, allocations: 4 kB / 477.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.1089, allocations: 15.84 kB / 477.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.109, allocations: 4 kB / 477.1 MB, free: 6.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000126/0.1091, allocations: 154.1 kB / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.1091, allocations: 23.66 kB / 477.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.1092, allocations: 37.73 kB / 477.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1092, allocations: 0 / 477.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1092, allocations: 4 kB / 477.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1092, allocations: 3.938 kB / 477.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1094, allocations: 245.5 kB / 477.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1094, allocations: 0 / 477.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1095, allocations: 8 kB / 477.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1095, allocations: 3.984 kB / 477.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1095, allocations: 8 kB / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1095, allocations: 0 / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1095, allocations: 0 / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1098, allocations: 185.5 kB / 477.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1099, allocations: 100.8 kB / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.11, allocations: 4 kB / 477.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.11, allocations: 7.984 kB / 477.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.1101, allocations: 15.94 kB / 477.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1101, allocations: 7.984 kB / 477.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.1104, allocations: 245.9 kB / 478.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1104, allocations: 0 / 478.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1106, allocations: 36 kB / 478.2 MB, free: 5.023 MB / 350.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001354/0.112, allocations: 1.031 MB / 479.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1123, allocations: 103.8 kB / 479.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1123, allocations: 0 / 479.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1124, allocations: 51.91 kB / 479.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1128, allocations: 70.05 kB / 479.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1153, allocations: 2.295 MB / 481.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1156, allocations: 0.7398 MB / 482.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.544e-05/0.1157, allocations: 29.92 kB / 482.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.1158, allocations: 79.34 kB / 482.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1158, allocations: 0 / 482.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1371, allocations: 5.506 MB / 488.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.694, allocations: 7.109 kB / 488.1 MB, free: 11.21 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches