Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.00111/0.00111, allocations: 113.2 kB / 17.78 MB, free: 5.277 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.00123/0.00123, allocations: 185 kB / 18.72 MB, free: 4.352 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.39/1.39, 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.2024/0.2024, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3203, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002584/0.323, allocations: 1.642 MB / 0.5201 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.3237, allocations: 447.1 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.3238, allocations: 1.844 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.324, allocations: 49.77 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.3242, allocations: 58.75 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.3247, allocations: 177 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.3249, allocations: 77.38 kB / 0.5208 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3251, allocations: 25.34 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.3252, allocations: 35.88 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3253, allocations: 42.81 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3253, allocations: 3.438 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3254, allocations: 46.86 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.3255, allocations: 29.84 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.3256, allocations: 31.89 kB / 0.521 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3258, allocations: 120.2 kB / 0.5212 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3258, allocations: 0 / 0.5212 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3258, allocations: 1 kB / 0.5212 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.3258, allocations: 0 / 0.5212 GB, free: 1.566 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005015/0.3263, allocations: 410.1 kB / 0.5215 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3264, allocations: 10.28 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/0.3264, allocations: 36.45 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3265, allocations: 14.56 kB / 0.5216 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3266, allocations: 197.4 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3266, allocations: 6.344 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3267, allocations: 14.7 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3269, allocations: 66.73 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3269, allocations: 1.5 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3269, allocations: 0 / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3269, allocations: 1.75 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3271, allocations: 42.17 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3275, allocations: 323.9 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.3278, allocations: 56.2 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.3279, allocations: 27.22 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3279, allocations: 1.031 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3279, allocations: 40.39 kB / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.913e-06/0.3279, allocations: 4.031 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001546/0.3295, allocations: 424.8 kB / 0.5228 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3295, allocations: 53.23 kB / 0.5228 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3297, allocations: 176.8 kB / 0.523 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3297, allocations: 31.33 kB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.3298, allocations: 111.5 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.3298, allocations: 35.58 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.3299, allocations: 23.23 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.33, allocations: 321.4 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3302, allocations: 56.12 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3303, allocations: 55.31 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.3306, allocations: 127.3 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3306, allocations: 5.344 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003661/0.331, allocations: 159.7 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.331, allocations: 15.06 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.331, allocations: 0 / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3311, allocations: 0.9688 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3312, allocations: 25.56 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3312, allocations: 1.031 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.3313, allocations: 9.266 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3313, allocations: 6.344 kB / 0.5239 GB, free: 15.45 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 (11): * Single equations (assignments): 11 * 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.0001164/0.3314, allocations: 130.3 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.3315, allocations: 17.83 kB / 0.5241 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.3319, allocations: 184 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3319, allocations: 1.688 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3319, allocations: 0 / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3319, allocations: 0.6094 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007553/0.3327, allocations: 0.5036 MB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3327, allocations: 1.812 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3328, allocations: 26 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3328, allocations: 1.75 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3329, allocations: 1.781 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3329, allocations: 5.75 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3329, allocations: 4.062 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.3333, allocations: 270.9 kB / 0.525 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.3333, allocations: 96.89 kB / 0.5251 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3334, allocations: 4.609 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.3335, allocations: 9.344 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3335, allocations: 16.45 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3335, allocations: 5.484 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.3336, allocations: 141.3 kB / 0.5253 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3336, allocations: 0 / 0.5253 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3339, allocations: 30.98 kB / 0.5253 GB, free: 14.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001685/0.3356, allocations: 1.141 MB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.336, allocations: 134 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.336, allocations: 5.25 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.3362, allocations: 70.52 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3366, allocations: 21.05 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.339, allocations: 1.862 MB / 0.5285 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3392, allocations: 0.7159 MB / 0.5292 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3394, allocations: 40.25 kB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.3394, allocations: 34.11 kB / 0.5292 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3394, allocations: 0 / 0.5292 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.3578, allocations: 3.37 MB / 0.5325 GB, free: 9.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.949, allocations: 14.27 kB / 0.5325 GB, free: 9.613 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_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_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches