Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001943, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 79.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3445, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003904/0.3484, allocations: 2.056 MB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.3506, allocations: 1.12 MB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.3508, allocations: 10.97 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.3514, allocations: 269.4 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006552/0.3521, allocations: 256.6 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3537, allocations: 0.6568 MB / 0.5348 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006338/0.3544, allocations: 355.6 kB / 0.5351 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.3546, allocations: 72.86 kB / 0.5352 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.3549, allocations: 152.4 kB / 0.5353 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.3552, allocations: 206.8 kB / 0.5355 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.3553, allocations: 10.22 kB / 0.5355 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.3556, allocations: 107 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.3558, allocations: 100.3 kB / 0.5357 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.3559, allocations: 134.4 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.3565, allocations: 375 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3565, allocations: 0 / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3565, allocations: 0 / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.3565, allocations: 0 / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009651/0.3575, allocations: 0.7096 MB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3576, allocations: 9.719 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.3576, allocations: 46.89 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.3578, allocations: 44.16 kB / 0.537 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3582, allocations: 354.8 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3583, allocations: 11.91 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.3583, allocations: 11.34 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.3586, allocations: 128.5 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3587, allocations: 7.953 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3587, allocations: 1.375 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3587, allocations: 2.375 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.359, allocations: 98.98 kB / 0.5376 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.3599, allocations: 0.5193 MB / 0.5381 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3601, allocations: 111.7 kB / 0.5382 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.3602, allocations: 39.91 kB / 0.5382 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.3603, allocations: 6.641 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3603, allocations: 35.44 kB / 0.5383 GB, free: 7.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.3603, allocations: 5.094 kB / 0.5383 GB, free: 7.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001213/0.3616, allocations: 449.1 kB / 0.5387 GB, free: 7.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3616, allocations: 62.28 kB / 0.5388 GB, free: 7.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.3624, allocations: 0.6087 MB / 0.5394 GB, free: 6.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3625, allocations: 30.92 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3626, allocations: 207.9 kB / 0.5396 GB, free: 6.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.3627, allocations: 66.86 kB / 0.5397 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.3628, allocations: 34.73 kB / 0.5397 GB, free: 6.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3629, allocations: 359.3 kB / 0.54 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3631, allocations: 66.33 kB / 0.5401 GB, free: 6.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3632, allocations: 64.58 kB / 0.5402 GB, free: 6.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3635, allocations: 157 kB / 0.5403 GB, free: 6.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3635, allocations: 4 kB / 0.5403 GB, free: 6.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000439/0.364, allocations: 234.5 kB / 0.5405 GB, free: 5.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.364, allocations: 5.594 kB / 0.5406 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.364, allocations: 3.984 kB / 0.5406 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.364, allocations: 1.406 kB / 0.5406 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3642, allocations: 34.67 kB / 0.5406 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3642, allocations: 1.031 kB / 0.5406 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3643, allocations: 16.64 kB / 0.5406 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3643, allocations: 8.875 kB / 0.5406 GB, free: 5.914 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 (17): * Single equations (assignments): 17 * 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.0002178/0.3646, allocations: 182.5 kB / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.3647, allocations: 51.23 kB / 0.5408 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.3652, allocations: 274.1 kB / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3653, allocations: 3.438 kB / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3653, allocations: 0 / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3653, allocations: 0 / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3663, allocations: 0.7073 MB / 0.5418 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3663, allocations: 0 / 0.5418 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3665, allocations: 38.97 kB / 0.5418 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3665, allocations: 0 / 0.5418 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3665, allocations: 2.25 kB / 0.5418 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3665, allocations: 5.125 kB / 0.5418 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3665, allocations: 1.188 kB / 0.5418 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.367, allocations: 333.7 kB / 0.5422 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3671, allocations: 123.1 kB / 0.5423 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.3672, allocations: 5.156 kB / 0.5423 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3673, allocations: 9.5 kB / 0.5423 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3673, allocations: 13.73 kB / 0.5423 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3673, allocations: 8.547 kB / 0.5423 GB, free: 4.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005444/0.3679, allocations: 456.2 kB / 0.5427 GB, free: 4.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3679, allocations: 0 / 0.5427 GB, free: 4.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.3683, allocations: 50.47 kB / 0.5428 GB, free: 4.367 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 (17): * Single equations (assignments): 17 * 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.002337/0.3706, allocations: 1.461 MB / 0.5442 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.371, allocations: 171.7 kB / 0.5444 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.371, allocations: 0 / 0.5444 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.3712, allocations: 92.16 kB / 0.5445 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.3718, allocations: 80.53 kB / 0.5445 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.3761, allocations: 3.352 MB / 0.5478 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3766, allocations: 0.8338 MB / 0.5486 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.3767, allocations: 62.22 kB / 0.5487 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3769, allocations: 139.4 kB / 0.5488 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3769, allocations: 0 / 0.5488 GB, free: 14.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.4058, allocations: 7.871 MB / 0.5565 GB, free: 7.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.669, allocations: 0 / 0.5565 GB, free: 7.07 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches