Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.001165/0.001165, allocations: 114.6 kB / 17.78 MB, free: 5.129 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.001206/0.001206, allocations: 185 kB / 18.72 MB, free: 4.203 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2072/0.2072, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3559, allocations: 60.82 MB / 0.5185 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002888/0.3588, allocations: 1.589 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007804/0.3596, allocations: 417.1 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.3597, allocations: 1 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.36, allocations: 88.94 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.3603, allocations: 79.78 kB / 0.5206 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3606, allocations: 103.5 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3608, allocations: 76.75 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3609, allocations: 22.33 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.361, allocations: 36.11 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3611, allocations: 53.64 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3611, allocations: 3.156 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3612, allocations: 38.91 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.3613, allocations: 19.91 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.3613, allocations: 34.98 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3615, allocations: 106.5 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3616, allocations: 4.453 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3616, allocations: 0 / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3616, allocations: 0.9375 kB / 0.521 GB, free: 1.645 MB / 382.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.0003975/0.362, allocations: 417.8 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.362, allocations: 9.656 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.3621, allocations: 33.58 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3621, allocations: 13.41 kB / 0.5215 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3622, allocations: 203.1 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3623, allocations: 1.562 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3623, allocations: 10.5 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3624, allocations: 54.5 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3625, allocations: 4 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.3625, allocations: 0.6094 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3625, allocations: 1.188 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.846e-05/0.3626, allocations: 30.81 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3629, allocations: 302.5 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.363, allocations: 47.95 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.3631, allocations: 23.92 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3631, allocations: 1.281 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3631, allocations: 32.67 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3631, allocations: 0 / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008637/0.364, allocations: 236.3 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.364, allocations: 56.53 kB / 0.5225 GB, free: 372 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3642, allocations: 223.6 kB / 0.5227 GB, free: 232 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.3643, allocations: 31.45 kB / 0.5227 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.3643, allocations: 100.9 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.3643, allocations: 29.03 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.3644, allocations: 30.22 kB / 0.5229 GB, free: 48 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3645, allocations: 330.9 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3647, allocations: 29.62 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.3647, allocations: 35.56 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3649, allocations: 75.66 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3649, allocations: 0 / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002362/0.3652, allocations: 117 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3652, allocations: 9.125 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3652, allocations: 0.8906 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3652, allocations: 1.125 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.3653, allocations: 20.95 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3653, allocations: 8.578 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.3654, allocations: 4.938 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3654, allocations: 2.938 kB / 0.5235 GB, free: 15.59 MB / 398.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 0.0001065/0.3655, allocations: 133.3 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.3656, allocations: 13.58 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.3659, allocations: 128.4 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3659, allocations: 1.344 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3659, allocations: 6.109 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3659, allocations: 0 / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.3664, allocations: 418.6 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3665, allocations: 3.938 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.3665, allocations: 25.91 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3666, allocations: 0 / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3666, allocations: 2.125 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3666, allocations: 1.281 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3666, allocations: 1.188 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3669, allocations: 217.8 kB / 0.5244 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.3669, allocations: 89.44 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3669, allocations: 1.125 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.367, allocations: 10.05 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.3671, allocations: 8.578 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3671, allocations: 2.562 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3672, allocations: 176 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3672, allocations: 4 kB / 0.5247 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.3675, allocations: 17.77 kB / 0.5247 GB, free: 14.63 MB / 398.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.001446/0.369, allocations: 1.106 MB / 0.5257 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.3692, allocations: 75.64 kB / 0.5258 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3692, allocations: 0 / 0.5258 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.3693, allocations: 47.12 kB / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3697, allocations: 20.95 kB / 0.5259 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3716, allocations: 1.708 MB / 0.5276 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3719, allocations: 0.7193 MB / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.776e-05/0.372, allocations: 16.59 kB / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.372, allocations: 33.56 kB / 0.5283 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.372, allocations: 0 / 0.5283 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3938, allocations: 3.153 MB / 0.5314 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.078, allocations: 6.266 kB / 0.5314 GB, free: 10.25 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches