Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001291/0.001292, allocations: 113.4 kB / 17.78 MB, free: 5.281 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.001232/0.001232, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.415/1.415, 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.2073/0.2073, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3202, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002533/0.3227, allocations: 1.567 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006311/0.3234, allocations: 401.1 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.3235, allocations: 4 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3237, allocations: 28.89 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.3238, allocations: 43.16 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.3241, allocations: 102.2 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3243, allocations: 55.23 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.3244, allocations: 16.44 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.3244, allocations: 18.94 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.3245, allocations: 20.33 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3245, allocations: 2.312 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.3246, allocations: 34.69 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.3246, allocations: 17.89 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.3246, allocations: 16.53 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3248, allocations: 76.98 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3248, allocations: 3.938 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3248, allocations: 0.9375 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3248, allocations: 0 / 0.5208 GB, free: 1.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003782/0.3252, allocations: 383.7 kB / 0.5211 GB, free: 1.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3252, allocations: 10.28 kB / 0.5212 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.407e-05/0.3253, allocations: 32.38 kB / 0.5212 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.3253, allocations: 7.891 kB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3255, allocations: 186.3 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.3255, allocations: 1.531 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3255, allocations: 2.375 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3256, allocations: 53.8 kB / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3257, allocations: 8.938 kB / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3257, allocations: 0 / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3257, allocations: 1.125 kB / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.3258, allocations: 23.38 kB / 0.5215 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.3261, allocations: 280.3 kB / 0.5217 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3263, allocations: 49.83 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.3263, allocations: 18.7 kB / 0.5218 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3263, allocations: 0 / 0.5218 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.3264, allocations: 32.22 kB / 0.5218 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3264, allocations: 0 / 0.5218 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005254/0.3269, allocations: 147.2 kB / 0.522 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.3269, allocations: 56.02 kB / 0.522 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.327, allocations: 143.5 kB / 0.5222 GB, free: 424 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.3271, allocations: 26.77 kB / 0.5222 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.3271, allocations: 97.3 kB / 0.5223 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3271, allocations: 19.5 kB / 0.5223 GB, free: 280 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3271, allocations: 14.45 kB / 0.5223 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.3272, allocations: 323.2 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.3273, allocations: 24.97 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.3274, allocations: 21.64 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3275, allocations: 51.28 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3275, allocations: 0 / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001962/0.3277, allocations: 94.22 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3278, allocations: 4.219 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3278, allocations: 5.031 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3278, allocations: 4 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.3279, allocations: 13.22 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3279, allocations: 0 / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.3279, allocations: 9.047 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3279, allocations: 5.672 kB / 0.5228 GB, free: 15.84 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 (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 0.0001778/0.3281, allocations: 116.6 kB / 0.5229 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.3282, allocations: 7.766 kB / 0.523 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.3284, allocations: 105.3 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3284, allocations: 0.875 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3284, allocations: 1.062 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3284, allocations: 0.9844 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.329, allocations: 348.4 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.329, allocations: 0 / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.3291, allocations: 16.17 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3291, allocations: 9.172 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3291, allocations: 0.6094 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3291, allocations: 5.031 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3291, allocations: 0.6562 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3294, allocations: 182.1 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.3294, allocations: 83.09 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3294, allocations: 1.688 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3295, allocations: 13.02 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.3296, allocations: 6.984 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3296, allocations: 1.406 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.167e-05/0.3297, allocations: 109.8 kB / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3297, allocations: 0 / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.3299, allocations: 14.95 kB / 0.5238 GB, free: 14.96 MB / 398.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.001858/0.3318, allocations: 1.014 MB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.332, allocations: 48.7 kB / 0.5249 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.332, allocations: 0 / 0.5249 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.3321, allocations: 33.73 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3325, allocations: 22.66 kB / 0.5249 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.3342, allocations: 1.426 MB / 0.5263 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3346, allocations: 0.6991 MB / 0.527 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.857e-05/0.3346, allocations: 14.97 kB / 0.527 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.3347, allocations: 25.69 kB / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3347, allocations: 0 / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3592, allocations: 2.477 MB / 0.5294 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.251, allocations: 4.906 kB / 0.5294 GB, free: 11.27 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches