Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.001326/0.001326, allocations: 102.2 kB / 16.4 MB, free: 6.469 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.001442/0.001442, allocations: 192.2 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1994/0.1994, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 71.91 kB / 441.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.0922, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003033/0.09526, allocations: 1.661 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.09651, allocations: 0.7767 MB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.0966, allocations: 0 / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.09692, allocations: 59.8 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.09717, allocations: 71.61 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.09744, allocations: 91.77 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.09761, allocations: 95.69 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.09766, allocations: 7.984 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.09777, allocations: 47.77 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.09788, allocations: 43.83 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.0979, allocations: 4 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.09799, allocations: 31.98 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.09805, allocations: 19.92 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.09811, allocations: 27.75 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.09831, allocations: 103.6 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09832, allocations: 4 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09833, allocations: 0 / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.09834, allocations: 0 / 0.4904 GB, free: 9.148 MB / 382.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.0005268/0.09887, allocations: 398.8 kB / 0.4908 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.09891, allocations: 15.89 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.09895, allocations: 34.75 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.099, allocations: 12.84 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.09928, allocations: 220 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.0993, allocations: 384 / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.09932, allocations: 3.938 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.09947, allocations: 57.61 kB / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.09949, allocations: 0 / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.0995, allocations: 0 / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.09951, allocations: 0 / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.09958, allocations: 15.98 kB / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.09977, allocations: 181.7 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.09996, allocations: 54.56 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.1, allocations: 24.78 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1, allocations: 0 / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.1002, allocations: 63.39 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.1002, allocations: 0 / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002761/0.1005, allocations: 97.62 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1005, allocations: 55.39 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1007, allocations: 182.1 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1007, allocations: 29.7 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.1008, allocations: 104.1 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1008, allocations: 7.891 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.1009, allocations: 21.7 kB / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.101, allocations: 322.8 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.101, allocations: 19.98 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.1011, allocations: 33.94 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.034e-05/0.1012, allocations: 45.66 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1012, allocations: 3.938 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001548/0.1014, allocations: 89.52 kB / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1014, allocations: 8.031 kB / 0.4924 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1014, allocations: 0 / 0.4924 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1014, allocations: 0 / 0.4924 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.1015, allocations: 8 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1015, allocations: 4 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1016, allocations: 3.984 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1016, allocations: 7.984 kB / 0.4925 GB, free: 6.82 MB / 382.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 8.765e-05/0.1017, allocations: 133.7 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1017, allocations: 7.953 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.1018, allocations: 24.23 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1018, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1018, allocations: 4 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1018, allocations: 0 / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1019, allocations: 185.5 kB / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1019, allocations: 0 / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.102, allocations: 4 kB / 0.4928 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.102, allocations: 3.984 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.102, allocations: 8 kB / 0.4928 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.102, allocations: 0 / 0.4928 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.102, allocations: 0 / 0.4928 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1022, allocations: 117.1 kB / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.1022, allocations: 89.06 kB / 0.493 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1023, allocations: 0 / 0.493 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.1023, allocations: 4 kB / 0.493 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.1023, allocations: 7.984 kB / 0.493 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1024, allocations: 4 kB / 0.493 GB, free: 6.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1025, allocations: 140.1 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1025, allocations: 4 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1027, allocations: 23.92 kB / 0.4932 GB, free: 5.977 MB / 382.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.001229/0.1039, allocations: 0.9396 MB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1041, allocations: 43.92 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1041, allocations: 0 / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.1042, allocations: 23.98 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1045, allocations: 27.98 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1061, allocations: 1.477 MB / 0.4956 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.1064, allocations: 0.7002 MB / 0.4963 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.1064, allocations: 12.55 kB / 0.4963 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.1065, allocations: 31.42 kB / 0.4964 GB, free: 2.617 MB / 382.1 MB Notification: Performance of SimCode: time 2.404e-06/0.1065, allocations: 0 / 0.4964 GB, free: 2.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1252, allocations: 3.067 MB / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.443, allocations: 11.97 kB / 0.4994 GB, free: 15.52 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches