Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001618/0.001618, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001951/0.001951, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2102/0.2102, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002731/0.3607, allocations: 1.583 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.3614, allocations: 407.2 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.3615, allocations: 1.031 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.3619, allocations: 109.1 kB / 0.5205 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.3622, allocations: 73.89 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3625, allocations: 92.83 kB / 0.5206 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.3627, allocations: 76.25 kB / 0.5207 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3628, allocations: 22.25 kB / 0.5207 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.3629, allocations: 38.14 kB / 0.5208 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.363, allocations: 65.36 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3631, allocations: 2.438 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3632, allocations: 43.61 kB / 0.5209 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.3633, allocations: 30.16 kB / 0.5209 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.3633, allocations: 34.39 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3636, allocations: 107.7 kB / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3636, allocations: 1.406 kB / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3636, allocations: 0 / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3636, allocations: 0 / 0.521 GB, free: 1.699 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.0004847/0.3641, allocations: 428.5 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3642, allocations: 9.031 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.3642, allocations: 36.78 kB / 0.5215 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.3642, allocations: 14.95 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3644, allocations: 211 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3644, allocations: 2.938 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3645, allocations: 5.25 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3646, allocations: 54.25 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3646, allocations: 4 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3647, allocations: 0 / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3647, allocations: 1.312 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3648, allocations: 29.64 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3652, allocations: 308.5 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3653, allocations: 39.23 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.3654, allocations: 21.95 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3654, allocations: 1.922 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3654, allocations: 31.69 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.3654, allocations: 3.984 kB / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009511/0.3664, allocations: 228.4 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.3664, allocations: 57.41 kB / 0.5225 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3667, allocations: 238.7 kB / 0.5227 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.3667, allocations: 25.7 kB / 0.5227 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3668, allocations: 114.6 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3668, allocations: 24.62 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.3669, allocations: 21.25 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.367, allocations: 331.3 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.3671, allocations: 26.38 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.3672, allocations: 23.83 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.3673, allocations: 58.25 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3674, allocations: 0.9688 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000223/0.3676, allocations: 105.5 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3676, allocations: 8.625 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3676, allocations: 0.75 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3676, allocations: 1.125 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3678, allocations: 17.14 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3678, allocations: 4.594 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.3678, allocations: 9.125 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3678, allocations: 2.281 kB / 0.5234 GB, free: 15.65 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.000128/0.368, allocations: 132.4 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.368, allocations: 17.34 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.3683, allocations: 129.2 kB / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3684, allocations: 0 / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3684, allocations: 9.219 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3684, allocations: 4.641 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.3689, allocations: 412.8 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.369, allocations: 3.938 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.369, allocations: 20.61 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.369, allocations: 1.062 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3691, allocations: 1.859 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3691, allocations: 1.438 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3691, allocations: 0.7031 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.3693, allocations: 204.2 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.3694, allocations: 92.09 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3694, allocations: 6 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/0.3695, allocations: 5.016 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.3696, allocations: 6.062 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3696, allocations: 2.938 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.3698, allocations: 187.5 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3698, allocations: 4 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.37, allocations: 19.8 kB / 0.5246 GB, free: 14.68 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.001487/0.3715, allocations: 1.091 MB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.3717, allocations: 63.67 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3718, allocations: 0 / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.3718, allocations: 38.25 kB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3722, allocations: 19.28 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.3743, allocations: 1.728 MB / 0.5275 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3746, allocations: 0.7161 MB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.3747, allocations: 13.11 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.3748, allocations: 32.42 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3748, allocations: 1.344 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.3935, allocations: 3.202 MB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.056, allocations: 10.14 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches