Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001232/0.001232, 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.001208/0.001208, allocations: 180.9 kB / 18.7 MB, free: 4.469 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.396/1.396, 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.2347/0.2347, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.84 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3377, allocations: 60.81 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003162/0.3409, allocations: 2.041 MB / 0.5204 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3426, allocations: 1.157 MB / 0.5215 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3427, allocations: 3.656 kB / 0.5216 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.343, allocations: 47.84 kB / 0.5216 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.3434, allocations: 161.6 kB / 0.5218 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3446, allocations: 0.582 MB / 0.5223 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.345, allocations: 310.5 kB / 0.5226 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3452, allocations: 76.19 kB / 0.5227 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.3454, allocations: 136.2 kB / 0.5228 GB, free: 488 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3457, allocations: 193.6 kB / 0.523 GB, free: 424 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.3458, allocations: 14.81 kB / 0.523 GB, free: 424 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3459, allocations: 61.55 kB / 0.5231 GB, free: 408 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.3461, allocations: 142.2 kB / 0.5232 GB, free: 360 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3462, allocations: 174.5 kB / 0.5234 GB, free: 232 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.3467, allocations: 417.9 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3467, allocations: 4 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3467, allocations: 3.938 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3468, allocations: 0 / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001242/0.348, allocations: 0.8183 MB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3481, allocations: 10.38 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.3481, allocations: 43.23 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.3482, allocations: 58.38 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.3489, allocations: 479.7 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3489, allocations: 12.5 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.3489, allocations: 19.33 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.3493, allocations: 158.8 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3493, allocations: 1.375 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3494, allocations: 5.375 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3494, allocations: 2.75 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.3497, allocations: 122.5 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.351, allocations: 0.7158 MB / 0.5262 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.3514, allocations: 140.8 kB / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.3517, allocations: 64.95 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.3517, allocations: 2.016 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.3518, allocations: 41.67 kB / 0.5264 GB, free: 14.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.306e-06/0.3518, allocations: 4 kB / 0.5264 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.00219/0.354, allocations: 0.7486 MB / 0.5271 GB, free: 13.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.3541, allocations: 79.86 kB / 0.5272 GB, free: 13.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3552, allocations: 0.8956 MB / 0.5281 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3552, allocations: 25.7 kB / 0.5281 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.3555, allocations: 257 kB / 0.5283 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.3556, allocations: 76.48 kB / 0.5284 GB, free: 13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.3557, allocations: 43.39 kB / 0.5285 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.3559, allocations: 378.7 kB / 0.5288 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.3562, allocations: 102.7 kB / 0.5289 GB, free: 12.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.3565, allocations: 137 kB / 0.5291 GB, free: 12.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.3572, allocations: 249.1 kB / 0.5293 GB, free: 12.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3572, allocations: 1.125 kB / 0.5293 GB, free: 12.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008136/0.3581, allocations: 346.3 kB / 0.5296 GB, free: 12.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3581, allocations: 8.281 kB / 0.5296 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3581, allocations: 1.125 kB / 0.5296 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3581, allocations: 1.062 kB / 0.5296 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.3585, allocations: 50.7 kB / 0.5297 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3585, allocations: 1.062 kB / 0.5297 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.3587, allocations: 32.81 kB / 0.5297 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3588, allocations: 10.8 kB / 0.5297 GB, free: 12.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002562/0.359, allocations: 224 kB / 0.5299 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3592, allocations: 60.95 kB / 0.53 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009219/0.3601, allocations: 400.8 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3601, allocations: 3.062 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3601, allocations: 3.938 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3601, allocations: 1.156 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.3616, allocations: 0.9523 MB / 0.5313 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3616, allocations: 0 / 0.5313 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3619, allocations: 52.89 kB / 0.5314 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3619, allocations: 1.094 kB / 0.5314 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.3619, allocations: 11.02 kB / 0.5314 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.362, allocations: 4.812 kB / 0.5314 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.362, allocations: 4.938 kB / 0.5314 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.3628, allocations: 0.4986 MB / 0.5319 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.363, allocations: 157.5 kB / 0.532 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.3631, allocations: 2.188 kB / 0.532 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3633, allocations: 29 kB / 0.5321 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3635, allocations: 23.94 kB / 0.5321 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3635, allocations: 5.594 kB / 0.5321 GB, free: 10.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008348/0.3643, allocations: 0.652 MB / 0.5327 GB, free: 10.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.088e-06/0.3643, allocations: 0 / 0.5327 GB, free: 10.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004021/0.3647, allocations: 65.94 kB / 0.5328 GB, free: 10.12 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 (20): * Single equations (assignments): 20 * 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.002628/0.3674, allocations: 1.353 MB / 0.5341 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.3681, allocations: 259.6 kB / 0.5343 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3681, allocations: 0 / 0.5343 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.3685, allocations: 153.3 kB / 0.5345 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.3692, allocations: 78.48 kB / 0.5346 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008497/0.3777, allocations: 5.369 MB / 0.5398 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.3783, allocations: 0.8747 MB / 0.5407 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.3786, allocations: 115.1 kB / 0.5408 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.3789, allocations: 179.4 kB / 0.5409 GB, free: 4.707 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3789, allocations: 0 / 0.5409 GB, free: 4.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.4159, allocations: 10.31 MB / 0.551 GB, free: 10.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.812/9.228, allocations: 15.83 kB / 0.551 GB, free: 10.5 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches