Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001389/0.001389, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001323/0.001323, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.22/0.22, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001571/0.001571, allocations: 70.72 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002845/0.1076, allocations: 1.609 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1086, allocations: 0.9689 MB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.1087, allocations: 0 / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.1089, allocations: 23.86 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1091, allocations: 47.78 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.1095, allocations: 151.5 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1096, allocations: 63.84 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1097, allocations: 19.98 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.1097, allocations: 27.91 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1099, allocations: 31.8 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1099, allocations: 4 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.11, allocations: 55.97 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.1101, allocations: 15.92 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.1101, allocations: 27.8 kB / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1103, allocations: 103.8 kB / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1103, allocations: 4 kB / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1103, allocations: 0 / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1103, allocations: 0 / 443.8 MB, free: 3.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004849/0.1108, allocations: 391.2 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1108, allocations: 15.89 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.1109, allocations: 38.69 kB / 444.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1109, allocations: 8.844 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.1111, allocations: 196 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.1111, allocations: 8.375 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1111, allocations: 384 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1113, allocations: 87.3 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1113, allocations: 3.938 kB / 444.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1114, allocations: 0 / 444.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1114, allocations: 8 kB / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1115, allocations: 39.91 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1119, allocations: 300.8 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.112, allocations: 50.55 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.1121, allocations: 24.94 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1121, allocations: 4 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1122, allocations: 38.5 kB / 445 MB, free: 2.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1122, allocations: 0 / 445 MB, free: 2.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007285/0.1129, allocations: 225.5 kB / 445.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.1129, allocations: 81.11 kB / 445.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.113, allocations: 142.5 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1131, allocations: 29.7 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.1131, allocations: 100 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.1131, allocations: 23.64 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1132, allocations: 17.72 kB / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.1132, allocations: 322.8 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1133, allocations: 39.97 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1134, allocations: 49.69 kB / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1136, allocations: 85.03 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1137, allocations: 4 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002434/0.1139, allocations: 133.5 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1139, allocations: 6.969 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1139, allocations: 0 / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.114, allocations: 4 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1141, allocations: 15.98 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1141, allocations: 3.938 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.1142, allocations: 15.98 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1142, allocations: 0 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.631e-05/0.1142, allocations: 129.8 kB / 446.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1143, allocations: 7.906 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.1146, allocations: 146.2 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1146, allocations: 0 / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1146, allocations: 7.938 kB / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1146, allocations: 0 / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.115, allocations: 402.5 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1151, allocations: 0 / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.1151, allocations: 23.92 kB / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1151, allocations: 7.922 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1152, allocations: 4 kB / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1152, allocations: 0 / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1152, allocations: 3.938 kB / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.1155, allocations: 215.4 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.1156, allocations: 89.02 kB / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1156, allocations: 7.938 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.1157, allocations: 15.98 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.1158, allocations: 11.98 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1158, allocations: 0 / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.705e-05/0.1159, allocations: 103.3 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1159, allocations: 0 / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1161, allocations: 31.98 kB / 447.4 MB, free: 15.64 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001597/0.1177, allocations: 1.09 MB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.1181, allocations: 99.88 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1181, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1182, allocations: 51.94 kB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1186, allocations: 21.3 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1207, allocations: 1.6 MB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.121, allocations: 0.6963 MB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.1212, allocations: 21.11 kB / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.1212, allocations: 31.42 kB / 451 MB, free: 11.99 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1213, allocations: 0 / 451 MB, free: 11.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.1457, allocations: 3.036 MB / 454 MB, free: 8.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.802, allocations: 15.86 kB / 454.1 MB, free: 8.906 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches