Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.001202/0.001202, allocations: 102.8 kB / 16.27 MB, free: 5.969 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.001329/0.001329, allocations: 190 kB / 17.2 MB, free: 5.602 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.493/1.493, 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.2132/0.2132, allocations: 43.51 MB / 313.9 MB, free: 0.5352 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.001736/0.001736, allocations: 75.36 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09696, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002766/0.09978, allocations: 1.693 MB / 442.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1008, allocations: 0.7922 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.1009, allocations: 7.938 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1013, allocations: 39.83 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1015, allocations: 55.69 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1017, allocations: 87.77 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1019, allocations: 91.7 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.102, allocations: 16.16 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.1021, allocations: 39.8 kB / 443.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.1021, allocations: 31.84 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1022, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.1022, allocations: 39.98 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.1023, allocations: 19.92 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1024, allocations: 39.67 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1025, allocations: 107.7 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1025, allocations: 4 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1026, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1026, allocations: 0 / 443.7 MB, free: 3.703 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004451/0.103, allocations: 414.9 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1031, allocations: 11.89 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.1031, allocations: 38.75 kB / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.1031, allocations: 8.844 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.1033, allocations: 201.2 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1033, allocations: 8.312 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1034, allocations: 7.938 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1035, allocations: 49.67 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1035, allocations: 4 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1035, allocations: 11.94 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1035, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.1036, allocations: 15.98 kB / 444.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1039, allocations: 292.8 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.104, allocations: 58.61 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.1041, allocations: 24.8 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1041, allocations: 15.95 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.1043, allocations: 63.39 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1043, allocations: 0 / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004533/0.1047, allocations: 173.2 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.1048, allocations: 55.39 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1049, allocations: 194.1 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.1049, allocations: 29.7 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.105, allocations: 100.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.105, allocations: 23.7 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.105, allocations: 17.72 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.1051, allocations: 326.8 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.1051, allocations: 23.92 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.151e-05/0.1052, allocations: 33.7 kB / 445.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.068e-05/0.1053, allocations: 61.72 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1053, allocations: 0 / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001458/0.1054, allocations: 101.5 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1055, allocations: 8 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1055, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1055, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.1056, allocations: 16 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1056, allocations: 8.031 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.1056, allocations: 7.922 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1056, allocations: 4 kB / 446 MB, free: 1.098 MB / 318.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 6.158e-05/0.1057, allocations: 137 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1057, allocations: 11.81 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.1058, allocations: 20.7 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1058, allocations: 0 / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1058, allocations: 0 / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1058, allocations: 3.938 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1061, allocations: 395.3 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1061, allocations: 192 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.1061, allocations: 12.36 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1062, allocations: 7.875 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1062, allocations: 4 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1062, allocations: 4 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1062, allocations: 3.938 kB / 446.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1064, allocations: 208.5 kB / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.1064, allocations: 88.92 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1064, allocations: 7.922 kB / 446.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.1065, allocations: 4 kB / 446.9 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1065, allocations: 4 kB / 446.9 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1066, allocations: 7.984 kB / 446.9 MB, free: 88 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1067, allocations: 143.2 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1067, allocations: 0 / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1069, allocations: 23.98 kB / 447.1 MB, free: 15.92 MB / 334.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.001435/0.1084, allocations: 1.089 MB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1086, allocations: 63.89 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1086, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.1087, allocations: 28 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.109, allocations: 30.12 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.1107, allocations: 1.627 MB / 449.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.1112, allocations: 0.7079 MB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.416e-05/0.1113, allocations: 21.17 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.1114, allocations: 31.42 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.135e-06/0.1114, allocations: 0 / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.1346, allocations: 3.296 MB / 454 MB, free: 8.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.892, allocations: 3.938 kB / 454 MB, free: 8.961 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches