Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001156/0.001156, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001167/0.001167, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.19 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.61 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1083, allocations: 60.83 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003126/0.1115, allocations: 1.564 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.1123, allocations: 427.2 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.1124, allocations: 0 / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1127, allocations: 71.77 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.113, allocations: 67.73 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1134, allocations: 111.6 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1136, allocations: 67.89 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1138, allocations: 24.17 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.1139, allocations: 31.84 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.114, allocations: 55.81 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.114, allocations: 4 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1142, allocations: 43.98 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.1142, allocations: 19.92 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1143, allocations: 31.73 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1145, allocations: 99.94 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1145, allocations: 7.938 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1145, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1145, allocations: 0 / 472 MB, free: 11.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000554/0.1151, allocations: 403 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1152, allocations: 8.031 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.1152, allocations: 38.75 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.1153, allocations: 8.844 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1155, allocations: 204 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.1155, allocations: 384 / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1156, allocations: 16.03 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1157, allocations: 53.67 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1157, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1157, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1158, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.1159, allocations: 23.98 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.1163, allocations: 316.7 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.1164, allocations: 38.56 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1165, allocations: 20.94 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1165, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.1165, allocations: 34.56 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.395e-06/0.1165, allocations: 0 / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009484/0.1175, allocations: 237 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1176, allocations: 59.34 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1178, allocations: 210.2 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1178, allocations: 25.7 kB / 473.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.1179, allocations: 108 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1179, allocations: 23.66 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.118, allocations: 21.7 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1181, allocations: 322.8 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.1182, allocations: 27.98 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/0.1183, allocations: 31.98 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1184, allocations: 76.89 kB / 474.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1184, allocations: 0 / 474.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002496/0.1187, allocations: 117.4 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1187, allocations: 7.938 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1187, allocations: 0 / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1188, allocations: 432 / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1189, allocations: 23.98 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1189, allocations: 3.938 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.1189, allocations: 15.98 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.119, allocations: 0 / 474.4 MB, free: 8.953 MB / 350.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 (8): * Single equations (assignments): 8 * 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 9.709e-05/0.1191, allocations: 125.8 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.1191, allocations: 15.83 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.1194, allocations: 130.3 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1194, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1194, allocations: 3.938 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1194, allocations: 0 / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.12, allocations: 423.6 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.12, allocations: 3.938 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.1201, allocations: 19.98 kB / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1201, allocations: 0 / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1201, allocations: 0 / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1201, allocations: 0 / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1201, allocations: 8.031 kB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1204, allocations: 216.3 kB / 475.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.1205, allocations: 92.94 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1205, allocations: 4 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.1206, allocations: 0 / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.1206, allocations: 11.98 kB / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1207, allocations: 4 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1208, allocations: 155.2 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1208, allocations: 0 / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1211, allocations: 20 kB / 475.6 MB, free: 7.633 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001518/0.1226, allocations: 1.098 MB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.1229, allocations: 83.88 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1229, allocations: 4 kB / 476.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.123, allocations: 31.98 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.1234, allocations: 30.95 kB / 476.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1254, allocations: 1.664 MB / 478.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1257, allocations: 0.708 MB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.594e-05/0.1257, allocations: 28.95 kB / 479.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.1258, allocations: 31.42 kB / 479.3 MB, free: 4 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1258, allocations: 0 / 479.3 MB, free: 4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.1449, allocations: 2.99 MB / 482.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/7.78, allocations: 20.69 kB / 482.3 MB, free: 1.059 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches