Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001966/0.001966, allocations: 121.8 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.002509/0.002509, allocations: 201.2 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.455/1.455, 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.2201/0.2201, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3602, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003703/0.364, allocations: 2.049 MB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.3666, allocations: 1.114 MB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.3668, allocations: 2.312 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.3675, allocations: 265.6 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.3682, allocations: 265.9 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.37, allocations: 0.6524 MB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000605/0.3706, allocations: 354.6 kB / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.3708, allocations: 80.77 kB / 0.5352 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.3711, allocations: 152.1 kB / 0.5353 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.3714, allocations: 206.5 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.3714, allocations: 10.94 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.3717, allocations: 75.97 kB / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.3719, allocations: 100.3 kB / 0.5357 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.372, allocations: 126.6 kB / 0.5358 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3726, allocations: 362.8 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3727, allocations: 4 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3727, allocations: 1.125 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3727, allocations: 0 / 0.5362 GB, free: 9.375 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.001079/0.3738, allocations: 0.7089 MB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.3738, allocations: 13.22 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.3739, allocations: 43.14 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.799e-05/0.374, allocations: 44.88 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.3745, allocations: 346.2 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3745, allocations: 7.656 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.3746, allocations: 16.09 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.3749, allocations: 135.1 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.375, allocations: 8.781 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.375, allocations: 8.938 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.375, allocations: 3.469 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.3752, allocations: 85.66 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.3762, allocations: 0.5316 MB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3764, allocations: 104 kB / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/0.3765, allocations: 40.27 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3766, allocations: 2.688 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.3766, allocations: 39.94 kB / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3766, allocations: 0 / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001239/0.3779, allocations: 463.4 kB / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.3779, allocations: 53.62 kB / 0.5387 GB, free: 7.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/0.3788, allocations: 0.6018 MB / 0.5393 GB, free: 6.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3789, allocations: 30.83 kB / 0.5394 GB, free: 6.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3791, allocations: 216.1 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.3792, allocations: 54.22 kB / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.3793, allocations: 42.45 kB / 0.5396 GB, free: 6.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3795, allocations: 351.6 kB / 0.54 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3796, allocations: 67.14 kB / 0.54 GB, free: 6.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3798, allocations: 67.27 kB / 0.5401 GB, free: 6.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.3801, allocations: 160.9 kB / 0.5403 GB, free: 6.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3801, allocations: 1.594 kB / 0.5403 GB, free: 6.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004674/0.3806, allocations: 233.7 kB / 0.5405 GB, free: 6.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3806, allocations: 4.375 kB / 0.5405 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3806, allocations: 1.438 kB / 0.5405 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3806, allocations: 0 / 0.5405 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3808, allocations: 38.94 kB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3808, allocations: 1.375 kB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-05/0.3809, allocations: 9.219 kB / 0.5405 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3809, allocations: 8.609 kB / 0.5406 GB, free: 5.988 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.0001955/0.3811, allocations: 190.1 kB / 0.5407 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.3812, allocations: 55.47 kB / 0.5408 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005945/0.3818, allocations: 278.8 kB / 0.5411 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3819, allocations: 1.375 kB / 0.5411 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.3819, allocations: 1.281 kB / 0.5411 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3819, allocations: 0 / 0.5411 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.383, allocations: 0.6986 MB / 0.5417 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.383, allocations: 1.188 kB / 0.5417 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.3831, allocations: 33.42 kB / 0.5418 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3831, allocations: 1.281 kB / 0.5418 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.3832, allocations: 14.2 kB / 0.5418 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.3832, allocations: 5.25 kB / 0.5418 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3832, allocations: 0 / 0.5418 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.3838, allocations: 327.9 kB / 0.5421 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3839, allocations: 123 kB / 0.5422 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.3839, allocations: 5.109 kB / 0.5422 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3841, allocations: 13.53 kB / 0.5422 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.3841, allocations: 13.33 kB / 0.5422 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3841, allocations: 4.375 kB / 0.5423 GB, free: 4.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005648/0.3847, allocations: 452.4 kB / 0.5427 GB, free: 4.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3847, allocations: 0 / 0.5427 GB, free: 4.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.3851, allocations: 58.86 kB / 0.5427 GB, free: 4.426 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.002557/0.3876, allocations: 1.46 MB / 0.5442 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.388, allocations: 166 kB / 0.5443 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.388, allocations: 0 / 0.5443 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3882, allocations: 87.7 kB / 0.5444 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.3888, allocations: 87.38 kB / 0.5445 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.3931, allocations: 3.347 MB / 0.5478 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.3936, allocations: 0.826 MB / 0.5486 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3937, allocations: 66.23 kB / 0.5486 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.3939, allocations: 147.3 kB / 0.5488 GB, free: 14.95 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.394, allocations: 0 / 0.5488 GB, free: 14.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.4207, allocations: 7.882 MB / 0.5565 GB, free: 7.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.61, allocations: 2.344 kB / 0.5565 GB, free: 7.152 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_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_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches