Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 121 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 202 kB / 18.74 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.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 79.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3706, allocations: 62.45 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003065/0.3737, allocations: 1.653 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3748, allocations: 0.5746 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.3749, allocations: 1.188 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.3755, allocations: 453.7 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.376, allocations: 292.4 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3764, allocations: 176.4 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.3767, allocations: 174.5 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3769, allocations: 17.61 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.377, allocations: 110.9 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3772, allocations: 223.4 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3773, allocations: 2.719 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.521e-05/0.3774, allocations: 33.89 kB / 0.5341 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3775, allocations: 82.88 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.3776, allocations: 107.2 kB / 0.5343 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3779, allocations: 268.2 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.378, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.378, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.378, allocations: 1.188 kB / 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.0007982/0.3788, allocations: 0.6714 MB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3788, allocations: 9.75 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.3789, allocations: 35.97 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.379, allocations: 43.31 kB / 0.5353 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.3793, allocations: 300.5 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3793, allocations: 1.438 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3793, allocations: 3.562 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3795, allocations: 59.55 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3795, allocations: 4 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3795, allocations: 1.406 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3795, allocations: 3.938 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3796, allocations: 37.19 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.3801, allocations: 401.2 kB / 0.5361 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.3804, allocations: 53.16 kB / 0.5361 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.3804, allocations: 16.77 kB / 0.5362 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3805, allocations: 9.406 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3805, allocations: 30.56 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3805, allocations: 0 / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006886/0.3812, allocations: 241.8 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3813, allocations: 64.58 kB / 0.5365 GB, free: 8.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/0.3823, allocations: 0.8783 MB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3823, allocations: 25.7 kB / 0.5374 GB, free: 8.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.3825, allocations: 227.2 kB / 0.5376 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.3825, allocations: 21.09 kB / 0.5376 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.3826, allocations: 14.44 kB / 0.5376 GB, free: 8.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3828, allocations: 364.5 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.3828, allocations: 23.61 kB / 0.538 GB, free: 7.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.3829, allocations: 21.45 kB / 0.538 GB, free: 7.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3831, allocations: 51.48 kB / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3831, allocations: 4 kB / 0.5381 GB, free: 7.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002569/0.3834, allocations: 128 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3834, allocations: 4.469 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3834, allocations: 5.5 kB / 0.5382 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3834, allocations: 0 / 0.5382 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.3835, allocations: 14.17 kB / 0.5382 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3835, allocations: 0 / 0.5382 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.3836, allocations: 6.969 kB / 0.5382 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3836, allocations: 2.656 kB / 0.5382 GB, free: 7.734 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 (5): * Single equations (assignments): 5 * 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.0002142/0.3838, allocations: 214.3 kB / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3839, allocations: 47.02 kB / 0.5385 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.3842, allocations: 146.9 kB / 0.5386 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3843, allocations: 0 / 0.5386 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3843, allocations: 1.094 kB / 0.5386 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3843, allocations: 3.938 kB / 0.5386 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.385, allocations: 473.9 kB / 0.5391 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.385, allocations: 0 / 0.5391 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3851, allocations: 9.375 kB / 0.5391 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3851, allocations: 5.031 kB / 0.5391 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3851, allocations: 8.781 kB / 0.5391 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3851, allocations: 3.984 kB / 0.5391 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3851, allocations: 1.062 kB / 0.5391 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.3854, allocations: 218.4 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.3855, allocations: 122.1 kB / 0.5394 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3856, allocations: 9.281 kB / 0.5394 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.3857, allocations: 11.73 kB / 0.5394 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3857, allocations: 1.406 kB / 0.5394 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3857, allocations: 2.531 kB / 0.5394 GB, free: 6.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008201/0.3866, allocations: 0.6597 MB / 0.5401 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3866, allocations: 0 / 0.5401 GB, free: 6.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.3869, allocations: 30.73 kB / 0.5401 GB, free: 6.375 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 (5): * Single equations (assignments): 5 * 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.001463/0.3883, allocations: 1.048 MB / 0.5411 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3886, allocations: 60.3 kB / 0.5412 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3886, allocations: 0 / 0.5412 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.3887, allocations: 28.3 kB / 0.5412 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.3892, allocations: 36.02 kB / 0.5413 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.3934, allocations: 3.272 MB / 0.5445 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3939, allocations: 0.8298 MB / 0.5453 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.31e-05/0.394, allocations: 24.64 kB / 0.5453 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3941, allocations: 111.4 kB / 0.5454 GB, free: 2.188 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3941, allocations: 0 / 0.5454 GB, free: 2.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.4194, allocations: 6.113 MB / 0.5514 GB, free: 12.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.895, allocations: 4.828 kB / 0.5514 GB, free: 12.14 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_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_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches