Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001604/0.001604, allocations: 105 kB / 16.27 MB, free: 5.977 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.00188/0.00188, allocations: 188.6 kB / 17.19 MB, free: 5.609 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.633/1.633, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2208/0.2208, allocations: 43.51 MB / 313.9 MB, free: 0.5391 MB / 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.001664/0.001664, allocations: 71.47 kB / 382.8 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09342, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002677/0.09614, allocations: 1.894 MB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.09719, allocations: 0.8505 MB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.0973, allocations: 4 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.09761, allocations: 39.7 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.0978, allocations: 55.7 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.09804, allocations: 107.7 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.09821, allocations: 139.6 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.09833, allocations: 25.42 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.199e-05/0.09842, allocations: 55.73 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.0985, allocations: 51.7 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.09853, allocations: 8 kB / 443.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.754e-05/0.09864, allocations: 51.92 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.0987, allocations: 27.92 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.09878, allocations: 51.66 kB / 444 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.09899, allocations: 139.5 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.099, allocations: 0 / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.09901, allocations: 0 / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.09902, allocations: 0 / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005623/0.09959, allocations: 480.5 kB / 444.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.09963, allocations: 19.89 kB / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.09967, allocations: 38.69 kB / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.09972, allocations: 20.73 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.09993, allocations: 216.1 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.09995, allocations: 4.375 kB / 444.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.09998, allocations: 15.84 kB / 444.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1002, allocations: 115.3 kB / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1002, allocations: 4 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1002, allocations: 4 kB / 445 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1002, allocations: 0 / 445 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1004, allocations: 47.95 kB / 445.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.1009, allocations: 0.5048 MB / 445.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.1012, allocations: 86.55 kB / 445.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.1013, allocations: 44.81 kB / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1013, allocations: 0 / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.1015, allocations: 95.3 kB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1015, allocations: 0 / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003346/0.1018, allocations: 141.4 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.1018, allocations: 51.41 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.102, allocations: 191.4 kB / 446.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.102, allocations: 29.7 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.1021, allocations: 120 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1021, allocations: 27.66 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1021, allocations: 41.55 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.14e-05/0.1022, allocations: 322.8 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.1022, allocations: 27.98 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.1023, allocations: 68.27 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1025, allocations: 96.2 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1025, allocations: 0 / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002145/0.1027, allocations: 129.8 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1027, allocations: 8 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1028, allocations: 0 / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1028, allocations: 8.016 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.1029, allocations: 31.88 kB / 447.1 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1029, allocations: 3.984 kB / 447.1 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.1029, allocations: 11.91 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.103, allocations: 4 kB / 447.1 MB, free: 48 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001077/0.1031, allocations: 129.9 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1031, allocations: 19.8 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.1032, allocations: 17.41 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1032, allocations: 7.875 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1032, allocations: 0 / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1032, allocations: 0 / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1034, allocations: 205.5 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1034, allocations: 4 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1035, allocations: 19.98 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1035, allocations: 4 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1035, allocations: 0 / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1035, allocations: 7.875 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1035, allocations: 4 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.1039, allocations: 180.8 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.104, allocations: 81.02 kB / 447.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.104, allocations: 4.062 kB / 447.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.1041, allocations: 19.92 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1041, allocations: 4 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1041, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1043, allocations: 141.2 kB / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1043, allocations: 0 / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1045, allocations: 28.03 kB / 447.9 MB, free: 15.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001544/0.1061, allocations: 1.026 MB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1063, allocations: 87.83 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1063, allocations: 0 / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.1064, allocations: 36.17 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1067, allocations: 55.02 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1086, allocations: 1.724 MB / 450.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1089, allocations: 0.716 MB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.611e-05/0.109, allocations: 21.41 kB / 451.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.1091, allocations: 47.41 kB / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1091, allocations: 0 / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.1321, allocations: 3.672 MB / 455.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.681, allocations: 15.92 kB / 455.3 MB, free: 7.602 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches