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.001134/0.001134, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4206, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003805/0.4245, allocations: 2.057 MB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.4269, allocations: 1.115 MB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.4271, allocations: 2.75 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.4277, allocations: 269.7 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.4284, allocations: 265.5 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.43, allocations: 0.66 MB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.4305, allocations: 352.3 kB / 0.5351 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.4308, allocations: 77.81 kB / 0.5352 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.431, allocations: 150.6 kB / 0.5353 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.4313, allocations: 210.7 kB / 0.5355 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.4313, allocations: 10.62 kB / 0.5355 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.4316, allocations: 106.3 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.4317, allocations: 93.55 kB / 0.5357 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4319, allocations: 130.7 kB / 0.5359 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.4325, allocations: 373.7 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.4325, allocations: 5.016 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4325, allocations: 0 / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.4325, allocations: 0 / 0.5362 GB, free: 9.332 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.001023/0.4336, allocations: 0.7141 MB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4336, allocations: 9.562 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.4337, allocations: 46.77 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.4338, allocations: 48.38 kB / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.4343, allocations: 346.1 kB / 0.5373 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.4343, allocations: 7.969 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4344, allocations: 11.88 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.4348, allocations: 139.6 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4348, allocations: 9.359 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4348, allocations: 4 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4348, allocations: 3.5 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.4351, allocations: 93.48 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.4361, allocations: 0.5114 MB / 0.5381 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.4363, allocations: 112.6 kB / 0.5382 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.4364, allocations: 43.7 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.4365, allocations: 6.297 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.4365, allocations: 36.72 kB / 0.5383 GB, free: 7.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.697e-06/0.4365, allocations: 3.984 kB / 0.5383 GB, free: 7.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001159/0.4377, allocations: 456.2 kB / 0.5387 GB, free: 7.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4377, allocations: 52.69 kB / 0.5388 GB, free: 7.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.4385, allocations: 0.606 MB / 0.5394 GB, free: 6.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.4385, allocations: 26.89 kB / 0.5394 GB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.4387, allocations: 215.6 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.4388, allocations: 67.17 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.4389, allocations: 33.86 kB / 0.5397 GB, free: 6.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4391, allocations: 360.1 kB / 0.54 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4393, allocations: 62.44 kB / 0.5401 GB, free: 6.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.4394, allocations: 67.55 kB / 0.5402 GB, free: 6.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.4398, allocations: 165 kB / 0.5403 GB, free: 6.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4398, allocations: 1.156 kB / 0.5403 GB, free: 6.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004326/0.4403, allocations: 234.7 kB / 0.5406 GB, free: 5.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4403, allocations: 9.203 kB / 0.5406 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4403, allocations: 4 kB / 0.5406 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4403, allocations: 1.281 kB / 0.5406 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.4405, allocations: 33.92 kB / 0.5406 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4405, allocations: 1.406 kB / 0.5406 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4406, allocations: 17.52 kB / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.4407, allocations: 4.125 kB / 0.5406 GB, free: 5.926 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.0002105/0.4409, allocations: 182.6 kB / 0.5408 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.441, allocations: 47.39 kB / 0.5408 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.4416, allocations: 282.3 kB / 0.5411 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4416, allocations: 2.406 kB / 0.5411 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4416, allocations: 0 / 0.5411 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4416, allocations: 1.156 kB / 0.5411 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.4426, allocations: 0.6947 MB / 0.5418 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4426, allocations: 1.188 kB / 0.5418 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.4427, allocations: 38.14 kB / 0.5418 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.4428, allocations: 5.172 kB / 0.5418 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4428, allocations: 2.5 kB / 0.5418 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.4428, allocations: 3.938 kB / 0.5418 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4428, allocations: 1.188 kB / 0.5418 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.4433, allocations: 338 kB / 0.5422 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4434, allocations: 123 kB / 0.5423 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.4435, allocations: 9.156 kB / 0.5423 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4436, allocations: 9.344 kB / 0.5423 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.4436, allocations: 14.42 kB / 0.5423 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4437, allocations: 4.094 kB / 0.5423 GB, free: 4.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005225/0.4442, allocations: 451 kB / 0.5427 GB, free: 4.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4442, allocations: 1.125 kB / 0.5427 GB, free: 4.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.4445, allocations: 50.14 kB / 0.5428 GB, free: 4.383 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.002744/0.4473, allocations: 1.463 MB / 0.5442 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.4477, allocations: 165.3 kB / 0.5444 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4477, allocations: 4 kB / 0.5444 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.4479, allocations: 92.58 kB / 0.5445 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.4485, allocations: 85.36 kB / 0.5446 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.4531, allocations: 3.345 MB / 0.5478 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.4536, allocations: 0.8299 MB / 0.5486 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.4538, allocations: 66.22 kB / 0.5487 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.454, allocations: 135.4 kB / 0.5488 GB, free: 14.88 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.454, allocations: 4 kB / 0.5488 GB, free: 14.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.4801, allocations: 7.872 MB / 0.5565 GB, free: 7.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.565, allocations: 6.344 kB / 0.5565 GB, free: 7.082 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