Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 103.7 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.001202/0.001203, allocations: 208.6 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.462/1.462, 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.2108/0.2108, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.59 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09594, allocations: 62.43 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002667/0.09864, allocations: 1.699 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1001, allocations: 0.9977 MB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.1002, allocations: 0 / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.1004, allocations: 67.72 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1008, allocations: 107.5 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.101, allocations: 75.73 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1011, allocations: 99.69 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1012, allocations: 8.234 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.1013, allocations: 47.77 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.265e-05/0.1013, allocations: 43.78 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1014, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1015, allocations: 39.97 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.1015, allocations: 19.92 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1016, allocations: 39.69 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1017, allocations: 107.9 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1017, allocations: 0 / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1017, allocations: 0 / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1018, allocations: 0 / 483.5 MB, free: 1.828 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004258/0.1022, allocations: 402.9 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1022, allocations: 12.03 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.1023, allocations: 38.73 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.1023, allocations: 12.78 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1025, allocations: 208.8 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1025, allocations: 4.359 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1025, allocations: 7.938 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.1027, allocations: 45.69 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1027, allocations: 0 / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1027, allocations: 3.984 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1027, allocations: 0 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.1028, allocations: 15.94 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1029, allocations: 185.7 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1031, allocations: 54.56 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.1032, allocations: 20.84 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1032, allocations: 0 / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1033, allocations: 71.23 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.735e-06/0.1034, allocations: 4 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000242/0.1036, allocations: 93.58 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1036, allocations: 51.41 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1038, allocations: 194.4 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1038, allocations: 29.7 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.1039, allocations: 100.1 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1039, allocations: 11.81 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1039, allocations: 17.72 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.104, allocations: 330.8 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.1041, allocations: 15.98 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.1041, allocations: 29.64 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.685e-05/0.1042, allocations: 41.72 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1043, allocations: 3.938 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001424/0.1044, allocations: 81.83 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1044, allocations: 12.03 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1044, allocations: 4 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.1044, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.1045, allocations: 8 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1045, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.1046, allocations: 11.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1046, allocations: 11.88 kB / 485.6 MB, free: 15.49 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 (7): * Single equations (assignments): 7 * 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.759e-05/0.1047, allocations: 121.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.1047, allocations: 15.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.1047, allocations: 20.98 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1048, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1048, allocations: 4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1048, allocations: 3.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1049, allocations: 193.5 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1049, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.1049, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1049, allocations: 4 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1049, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1049, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1049, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.1051, allocations: 113 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1052, allocations: 85.02 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1052, allocations: 0 / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.1052, allocations: 7.984 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.1053, allocations: 0 / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1053, allocations: 4 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1054, allocations: 152.2 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1054, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.1056, allocations: 27.84 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001089/0.1067, allocations: 0.9454 MB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1068, allocations: 51.91 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1068, allocations: 0 / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.1069, allocations: 16 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.1072, allocations: 23.97 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1085, allocations: 1.51 MB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1087, allocations: 0.701 MB / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.1087, allocations: 16.53 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.1088, allocations: 35.42 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1088, allocations: 0 / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/0.2484, allocations: 3.067 MB / 492.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/8.559, allocations: 4.125 kB / 492.7 MB, free: 8.359 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches