Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001106/0.001106, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001031/0.001031, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.435/1.435, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2247/0.2247, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 77.16 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003049/0.114, allocations: 1.551 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1154, allocations: 1.008 MB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.1155, allocations: 3.938 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1157, allocations: 27.91 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1159, allocations: 47.7 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1161, allocations: 87.66 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1163, allocations: 55.89 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.1164, allocations: 11.98 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.1164, allocations: 15.94 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1166, allocations: 35.78 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1166, allocations: 8 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1167, allocations: 51.97 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.1168, allocations: 7.938 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.1168, allocations: 27.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.117, allocations: 84.08 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.117, allocations: 3.984 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.117, allocations: 0 / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1171, allocations: 0 / 472.4 MB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004828/0.1175, allocations: 374.2 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1176, allocations: 16.03 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.1176, allocations: 38.67 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1177, allocations: 12.84 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1179, allocations: 188.2 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1179, allocations: 384 / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1179, allocations: 4.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1181, allocations: 63.33 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1181, allocations: 7.922 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1181, allocations: 8 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1181, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.269e-05/0.1182, allocations: 23.92 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1186, allocations: 268.9 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1188, allocations: 46.56 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.1189, allocations: 16.94 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1189, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1189, allocations: 38.5 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1189, allocations: 0 / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005799/0.1195, allocations: 137.3 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1196, allocations: 85.05 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1197, allocations: 137.8 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1198, allocations: 25.7 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.1198, allocations: 92.08 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1198, allocations: 15.8 kB / 473.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1199, allocations: 17.72 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.12, allocations: 322.8 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.1201, allocations: 15.98 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.1202, allocations: 37.7 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1203, allocations: 44.83 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1203, allocations: 0 / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001769/0.1205, allocations: 81.52 kB / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1205, allocations: 4 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1205, allocations: 4.031 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1205, allocations: 4.25 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.1206, allocations: 11.98 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1206, allocations: 4 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.1207, allocations: 4 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1207, allocations: 7.875 kB / 474.5 MB, free: 8.867 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 (5): * Single equations (assignments): 5 * 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 7.65e-05/0.1208, allocations: 113.8 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1208, allocations: 7.906 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.121, allocations: 101.5 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1211, allocations: 3.984 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1211, allocations: 0 / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1211, allocations: 3.938 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.1215, allocations: 346.5 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1215, allocations: 0 / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.1216, allocations: 15.98 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1216, allocations: 0 / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1216, allocations: 0 / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1216, allocations: 7.938 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1216, allocations: 3.938 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1218, allocations: 175.4 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1219, allocations: 81.02 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1219, allocations: 4 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.122, allocations: 7.938 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.122, allocations: 11.98 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.122, allocations: 0 / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.1221, allocations: 106.3 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1221, allocations: 0 / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1224, allocations: 19.98 kB / 475.5 MB, free: 7.773 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001392/0.1238, allocations: 1.039 MB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.124, allocations: 51.97 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.124, allocations: 0 / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.1241, allocations: 27.92 kB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1245, allocations: 19.92 kB / 476.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1259, allocations: 1.384 MB / 478 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1262, allocations: 0.6885 MB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.981e-05/0.1263, allocations: 12.05 kB / 478.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.1264, allocations: 23.44 kB / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1264, allocations: 0 / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.1479, allocations: 2.661 MB / 481.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.857, allocations: 11.86 kB / 481.4 MB, free: 1.969 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches