Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, 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.2125/0.2125, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001595, allocations: 80.64 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.0969, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002488/0.09941, allocations: 1.731 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1008, allocations: 1.021 MB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1009, allocations: 0 / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1011, allocations: 39.78 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1013, allocations: 99.53 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.1015, allocations: 75.72 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1016, allocations: 107.6 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.033e-05/0.1017, allocations: 8 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.1018, allocations: 47.77 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.1019, allocations: 31.8 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1019, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.102, allocations: 47.97 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.102, allocations: 19.92 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1021, allocations: 31.75 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1022, allocations: 123.8 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1022, allocations: 0 / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1022, allocations: 0 / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1023, allocations: 0 / 483.5 MB, free: 1.812 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.0003834/0.1026, allocations: 414.9 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.1027, allocations: 8.031 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.1027, allocations: 38.73 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.1027, allocations: 16.84 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1029, allocations: 204.7 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1029, allocations: 12.36 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.103, allocations: 7.938 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1031, allocations: 57.61 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1031, allocations: 3.906 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1031, allocations: 4 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-06/0.1031, allocations: 0 / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.1032, allocations: 19.98 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.1035, allocations: 280.9 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1036, allocations: 66.61 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.1037, allocations: 16.86 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1037, allocations: 0 / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.1038, allocations: 67.39 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1038, allocations: 4 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004378/0.1043, allocations: 173.2 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1043, allocations: 55.39 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1045, allocations: 206.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1045, allocations: 25.7 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1046, allocations: 100.1 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.1046, allocations: 27.64 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.1046, allocations: 25.72 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.1047, allocations: 326.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.1048, allocations: 23.98 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.1049, allocations: 37.64 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.105, allocations: 53.72 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.105, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001645/0.1051, allocations: 109.4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.1052, allocations: 4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1052, allocations: 4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.1052, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.1053, allocations: 15.98 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1053, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.1053, allocations: 8.312 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1053, allocations: 4 kB / 485.9 MB, free: 15.19 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.13e-05/0.1054, allocations: 133.8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.1054, allocations: 11.94 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.1055, allocations: 21.34 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1055, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1055, allocations: 4 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1055, allocations: 3.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.1059, allocations: 399.1 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1059, allocations: 0 / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.1059, allocations: 8 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1059, allocations: 7.969 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1059, allocations: 8 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1059, allocations: 3.984 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.106, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1062, allocations: 200.5 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.1062, allocations: 88.92 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1062, allocations: 11.94 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.1063, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.1063, allocations: 7.984 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1064, allocations: 4 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1065, allocations: 148.2 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1065, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1067, allocations: 20.19 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.001222/0.1079, allocations: 1.101 MB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.1081, allocations: 63.92 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1081, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.1082, allocations: 31.97 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1085, allocations: 35.28 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.11, allocations: 1.646 MB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1103, allocations: 0.7041 MB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.1103, allocations: 21.17 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1104, allocations: 35.42 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1104, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1294, allocations: 3.369 MB / 493.9 MB, free: 7.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.605, allocations: 18.3 kB / 494 MB, free: 7.105 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_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_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches