Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001149/0.001149, allocations: 117.2 kB / 17.78 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.001152/0.001152, allocations: 184.2 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.339/1.339, 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.2141/0.2141, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3373, allocations: 60.81 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002584/0.3399, allocations: 1.625 MB / 0.52 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006634/0.3406, allocations: 408.5 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.3406, allocations: 1.125 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.3409, allocations: 92.48 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.3412, allocations: 75.75 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3414, allocations: 94.27 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3416, allocations: 87.75 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3417, allocations: 29.72 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.3418, allocations: 36.62 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.3419, allocations: 62.44 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3419, allocations: 8.219 kB / 0.5209 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.342, allocations: 47.5 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.3421, allocations: 26.62 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.3421, allocations: 36.17 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3423, allocations: 129.8 kB / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3423, allocations: 0.7031 kB / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3423, allocations: 0 / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3423, allocations: 0 / 0.5211 GB, free: 1.598 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003816/0.3427, allocations: 428.5 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3427, allocations: 9.562 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.442e-05/0.3428, allocations: 37.5 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.3428, allocations: 18.81 kB / 0.5216 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.343, allocations: 208.8 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.343, allocations: 6.781 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.343, allocations: 4.875 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3432, allocations: 74.91 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3432, allocations: 4.703 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3432, allocations: 1.062 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3432, allocations: 1.219 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3433, allocations: 43.14 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.3437, allocations: 327.9 kB / 0.5222 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3438, allocations: 59.03 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.3439, allocations: 27.59 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3439, allocations: 1 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3439, allocations: 32.53 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3439, allocations: 0 / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009471/0.3449, allocations: 312 kB / 0.5226 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.3449, allocations: 57.5 kB / 0.5227 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3451, allocations: 232.7 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.3451, allocations: 26.67 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.3452, allocations: 110.7 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.3452, allocations: 40.47 kB / 0.5231 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3453, allocations: 32.72 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3454, allocations: 332.2 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.704e-05/0.3455, allocations: 33.89 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.3456, allocations: 37.86 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3458, allocations: 85.94 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3458, allocations: 0 / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002614/0.3461, allocations: 147 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3461, allocations: 8.672 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3461, allocations: 3.938 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3461, allocations: 5.766 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3462, allocations: 24.17 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3463, allocations: 6.172 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.3463, allocations: 8.375 kB / 0.5238 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3463, allocations: 4.375 kB / 0.5238 GB, free: 15.44 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 (13): * Single equations (assignments): 13 * 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.0001001/0.3464, allocations: 137.4 kB / 0.5239 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.3465, allocations: 15.09 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.3468, allocations: 165.9 kB / 0.5241 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3468, allocations: 2 kB / 0.5241 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3468, allocations: 1.094 kB / 0.5241 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3469, allocations: 0.5156 kB / 0.5241 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.3475, allocations: 477.5 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3475, allocations: 0 / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.3476, allocations: 29.22 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3476, allocations: 5.203 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3476, allocations: 4.047 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3476, allocations: 0 / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3476, allocations: 5.094 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.3479, allocations: 248.2 kB / 0.5248 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.348, allocations: 92.77 kB / 0.5249 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.348, allocations: 6.25 kB / 0.5249 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.3481, allocations: 4.625 kB / 0.5249 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3482, allocations: 13.22 kB / 0.5249 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.3482, allocations: 3.562 kB / 0.5249 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3483, allocations: 172 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3483, allocations: 4 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3486, allocations: 23 kB / 0.5251 GB, free: 14.42 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 (13): * Single equations (assignments): 13 * 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.001408/0.35, allocations: 1.126 MB / 0.5262 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3503, allocations: 97.12 kB / 0.5263 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3503, allocations: 0 / 0.5263 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3504, allocations: 58.31 kB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3508, allocations: 17.17 kB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3528, allocations: 1.81 MB / 0.5282 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3531, allocations: 0.7165 MB / 0.5289 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.3532, allocations: 20.98 kB / 0.5289 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.3533, allocations: 44.16 kB / 0.5289 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3533, allocations: 1.281 kB / 0.5289 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.3717, allocations: 3.444 MB / 0.5323 GB, free: 9.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.263, allocations: 4.844 kB / 0.5323 GB, free: 9.781 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_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_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches