Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001458/0.001458, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001601/0.001601, allocations: 183 kB / 18.72 MB, free: 4.332 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.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.211/0.211, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 71.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3122, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002623/0.3149, allocations: 1.629 MB / 0.52 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3162, allocations: 1.057 MB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.3163, allocations: 0.875 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.3165, allocations: 24.42 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.3167, allocations: 46.47 kB / 0.5211 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.3171, allocations: 174.6 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.3172, allocations: 69.72 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.3173, allocations: 18.97 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.3174, allocations: 25.7 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3175, allocations: 31.59 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3175, allocations: 4.5 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3177, allocations: 51.48 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.3177, allocations: 21.03 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.3178, allocations: 27.12 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.318, allocations: 103.1 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.318, allocations: 0 / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.318, allocations: 1.156 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.318, allocations: 0 / 0.5216 GB, free: 1.129 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.0004427/0.3184, allocations: 412.5 kB / 0.522 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3185, allocations: 8.75 kB / 0.522 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.395e-05/0.3185, allocations: 34.5 kB / 0.5221 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3185, allocations: 7.734 kB / 0.5221 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3187, allocations: 187.1 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3187, allocations: 9.75 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3187, allocations: 5.703 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3189, allocations: 88.36 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3189, allocations: 4.953 kB / 0.5224 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.319, allocations: 0 / 0.5224 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.319, allocations: 1.125 kB / 0.5224 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3191, allocations: 40.31 kB / 0.5224 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.3195, allocations: 309.9 kB / 0.5227 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3196, allocations: 47.58 kB / 0.5227 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.3197, allocations: 24.8 kB / 0.5228 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3197, allocations: 2.062 kB / 0.5228 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.3197, allocations: 36.03 kB / 0.5228 GB, free: 0 / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3197, allocations: 0 / 0.5228 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007784/0.3205, allocations: 217.9 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.3206, allocations: 78.98 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3208, allocations: 152.9 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3208, allocations: 25.7 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.3209, allocations: 97.52 kB / 0.5233 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.3209, allocations: 29.38 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.321, allocations: 20.48 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3211, allocations: 321.9 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3212, allocations: 33.95 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3214, allocations: 62.14 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.3216, allocations: 91.28 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3216, allocations: 1.5 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003052/0.322, allocations: 121.3 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.322, allocations: 5.469 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.322, allocations: 4.031 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.322, allocations: 1.844 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3222, allocations: 18.86 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3222, allocations: 7.875 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.3222, allocations: 9.344 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3223, allocations: 2.844 kB / 0.524 GB, free: 15.08 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 (7): * Single equations (assignments): 7 * 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.0001007/0.3224, allocations: 118.2 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.3224, allocations: 11.33 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.3228, allocations: 142 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3228, allocations: 0 / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3228, allocations: 6.766 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3228, allocations: 0 / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.3234, allocations: 410 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3234, allocations: 6.422 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.3235, allocations: 16.91 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3235, allocations: 11.53 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.3235, allocations: 0 / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3236, allocations: 0 / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3236, allocations: 0.7969 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.3239, allocations: 226.5 kB / 0.525 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.324, allocations: 86.45 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.324, allocations: 5.062 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.3241, allocations: 12.88 kB / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3242, allocations: 5.547 kB / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3242, allocations: 3.094 kB / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.783e-05/0.3243, allocations: 116.5 kB / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3243, allocations: 0 / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3246, allocations: 29.05 kB / 0.5252 GB, free: 14.16 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 (7): * Single equations (assignments): 7 * 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.002153/0.3267, allocations: 1.099 MB / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3271, allocations: 87.55 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3271, allocations: 4 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.3272, allocations: 49.36 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3276, allocations: 19.58 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.3297, allocations: 1.601 MB / 0.528 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3301, allocations: 0.6989 MB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.3302, allocations: 25.16 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.3303, allocations: 26.48 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3303, allocations: 5.375 kB / 0.5287 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3564, allocations: 3.119 MB / 0.5318 GB, free: 9.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.342, allocations: 18.67 kB / 0.5318 GB, free: 9.73 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches