Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",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: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 204.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.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 75.89 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3665, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002823/0.3694, allocations: 1.669 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3704, allocations: 0.5746 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.3705, allocations: 0 / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.371, allocations: 461 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.3715, allocations: 297 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.3719, allocations: 176.2 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.3721, allocations: 179.5 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3723, allocations: 22.3 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3724, allocations: 110.9 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.3726, allocations: 217.4 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3726, allocations: 2.75 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.3727, allocations: 37.98 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.3728, allocations: 83.56 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.3729, allocations: 108.2 kB / 0.5343 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3732, allocations: 271.6 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3732, allocations: 1.188 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3732, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3732, allocations: 0 / 0.5346 GB, free: 10.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007321/0.374, allocations: 0.6748 MB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3741, allocations: 9.812 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.3741, allocations: 35.91 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.3742, allocations: 47.56 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3745, allocations: 309.4 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3745, allocations: 1.594 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3745, allocations: 10.38 kB / 0.5357 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3747, allocations: 62.45 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3747, allocations: 5.156 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3747, allocations: 0 / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3747, allocations: 1.094 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3749, allocations: 39.2 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.3755, allocations: 406.2 kB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3756, allocations: 53.75 kB / 0.5362 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.3757, allocations: 24.47 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3757, allocations: 9.203 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3758, allocations: 35.7 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3758, allocations: 0 / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009201/0.3767, allocations: 319.7 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3768, allocations: 52.47 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/0.3777, allocations: 0.8756 MB / 0.5375 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3777, allocations: 26.61 kB / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3779, allocations: 220 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.3779, allocations: 26.64 kB / 0.5377 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.378, allocations: 28.67 kB / 0.5378 GB, free: 8.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3781, allocations: 359.1 kB / 0.5381 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3783, allocations: 37.8 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3784, allocations: 37.69 kB / 0.5382 GB, free: 7.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3786, allocations: 95.86 kB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3787, allocations: 4 kB / 0.5383 GB, free: 7.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003347/0.379, allocations: 162.5 kB / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.379, allocations: 5.781 kB / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.379, allocations: 0 / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3791, allocations: 1.719 kB / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3792, allocations: 22.3 kB / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3792, allocations: 4.062 kB / 0.5385 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.684e-05/0.3793, allocations: 19.42 kB / 0.5385 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3793, allocations: 1.656 kB / 0.5385 GB, free: 7.621 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 (7): * Single equations (assignments): 7 * 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.0001962/0.3795, allocations: 226.8 kB / 0.5387 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.3796, allocations: 42.34 kB / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.38, allocations: 184.6 kB / 0.5389 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.38, allocations: 1.281 kB / 0.5389 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.38, allocations: 0 / 0.5389 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.38, allocations: 3.938 kB / 0.5389 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.3808, allocations: 0.5069 MB / 0.5394 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3808, allocations: 0 / 0.5394 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.021e-05/0.3809, allocations: 22.23 kB / 0.5394 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3809, allocations: 1.281 kB / 0.5394 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3809, allocations: 9.188 kB / 0.5394 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3809, allocations: 3.984 kB / 0.5394 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.381, allocations: 1.156 kB / 0.5394 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.3814, allocations: 262.4 kB / 0.5397 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3815, allocations: 110.9 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3815, allocations: 5.312 kB / 0.5398 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3816, allocations: 9.453 kB / 0.5398 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3817, allocations: 10.55 kB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3817, allocations: 2.688 kB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007376/0.3824, allocations: 0.6546 MB / 0.5405 GB, free: 6.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3824, allocations: 0 / 0.5405 GB, free: 6.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000271/0.3827, allocations: 24.77 kB / 0.5405 GB, free: 6.211 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 (7): * Single equations (assignments): 7 * 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.001434/0.3842, allocations: 1.104 MB / 0.5416 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.3845, allocations: 95.72 kB / 0.5417 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3845, allocations: 0 / 0.5417 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3846, allocations: 48.75 kB / 0.5417 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3851, allocations: 32.98 kB / 0.5417 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.3891, allocations: 3.374 MB / 0.545 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3895, allocations: 0.826 MB / 0.5458 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.3896, allocations: 28.64 kB / 0.5459 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3898, allocations: 119.4 kB / 0.546 GB, free: 1.625 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3898, allocations: 0 / 0.546 GB, free: 1.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.4168, allocations: 6.254 MB / 0.5521 GB, free: 11.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.527, allocations: 4.891 kB / 0.5521 GB, free: 11.44 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches