Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001087, allocations: 118.2 kB / 17.79 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.001117/0.001117, 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.472/1.472, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4417, allocations: 62.45 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004778/0.4466, allocations: 2.108 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.4496, allocations: 1.386 MB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.45, allocations: 4.125 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.4504, allocations: 64.95 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008085/0.4513, allocations: 218.5 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.4529, allocations: 0.6244 MB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007733/0.4537, allocations: 356.4 kB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.454, allocations: 79.25 kB / 0.5352 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.4545, allocations: 138.3 kB / 0.5354 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.455, allocations: 207.2 kB / 0.5356 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.4551, allocations: 18.41 kB / 0.5356 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.4555, allocations: 66.14 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.4558, allocations: 148 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.4563, allocations: 194.7 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.4576, allocations: 443.5 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.4576, allocations: 0 / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.4576, allocations: 1.125 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.957e-05/0.4576, allocations: 0 / 0.5364 GB, free: 9.086 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002632/0.4603, allocations: 0.8659 MB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4603, allocations: 9.5 kB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.933e-05/0.4604, allocations: 38.44 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.461, allocations: 101 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.4621, allocations: 0.5003 MB / 0.5379 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4621, allocations: 11.84 kB / 0.5379 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.4622, allocations: 14.88 kB / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.4626, allocations: 163.7 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.4627, allocations: 0.9375 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.4627, allocations: 1.156 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4627, allocations: 2.062 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.4631, allocations: 121.9 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.4647, allocations: 0.7268 MB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.4651, allocations: 139.5 kB / 0.539 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.4653, allocations: 65.47 kB / 0.5391 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.4653, allocations: 14.03 kB / 0.5391 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4654, allocations: 40.53 kB / 0.5391 GB, free: 6.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.4654, allocations: 0 / 0.5391 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002465/0.4678, allocations: 0.7595 MB / 0.5399 GB, free: 6.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4679, allocations: 83.67 kB / 0.54 GB, free: 6.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.4696, allocations: 0.9325 MB / 0.5409 GB, free: 5.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4696, allocations: 30.77 kB / 0.5409 GB, free: 5.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.4699, allocations: 288 kB / 0.5412 GB, free: 5.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.47, allocations: 75.23 kB / 0.5412 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.4701, allocations: 35.86 kB / 0.5413 GB, free: 5.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4703, allocations: 320.2 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.4706, allocations: 111.1 kB / 0.5417 GB, free: 5.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.471, allocations: 127.3 kB / 0.5418 GB, free: 5.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.4716, allocations: 253.1 kB / 0.5421 GB, free: 4.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4717, allocations: 1.062 kB / 0.5421 GB, free: 4.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009161/0.4726, allocations: 340.5 kB / 0.5424 GB, free: 4.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4726, allocations: 9.656 kB / 0.5424 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4726, allocations: 4.125 kB / 0.5424 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.4727, allocations: 1.125 kB / 0.5424 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.473, allocations: 58.39 kB / 0.5425 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.473, allocations: 1.406 kB / 0.5425 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.4733, allocations: 22.06 kB / 0.5425 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.4733, allocations: 9.219 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002975/0.4736, allocations: 228.9 kB / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.4738, allocations: 63.98 kB / 0.5428 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009316/0.4747, allocations: 398.2 kB / 0.5431 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.4747, allocations: 2.875 kB / 0.5431 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4747, allocations: 7.984 kB / 0.5432 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4748, allocations: 1.438 kB / 0.5432 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.4765, allocations: 0.9676 MB / 0.5441 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4765, allocations: 11.98 kB / 0.5441 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.4767, allocations: 47.95 kB / 0.5442 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.4768, allocations: 0 / 0.5442 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.4768, allocations: 11.94 kB / 0.5442 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.4768, allocations: 3.938 kB / 0.5442 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4768, allocations: 4 kB / 0.5442 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.4777, allocations: 0.5103 MB / 0.5447 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.4779, allocations: 160.6 kB / 0.5448 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.478, allocations: 8 kB / 0.5448 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.4782, allocations: 23.91 kB / 0.5449 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.4783, allocations: 19.98 kB / 0.5449 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4784, allocations: 7.984 kB / 0.5449 GB, free: 2.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008532/0.4792, allocations: 0.6825 MB / 0.5456 GB, free: 2.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.4792, allocations: 0 / 0.5456 GB, free: 2.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.4797, allocations: 63.94 kB / 0.5456 GB, free: 1.945 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002081/0.4817, allocations: 1.359 MB / 0.5469 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006846/0.4824, allocations: 263.7 kB / 0.5472 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4825, allocations: 0 / 0.5472 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.4828, allocations: 147.8 kB / 0.5473 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.4834, allocations: 91.22 kB / 0.5474 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.4905, allocations: 5.519 MB / 0.5528 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.491, allocations: 0.8889 MB / 0.5537 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000276/0.4913, allocations: 111.2 kB / 0.5538 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.4915, allocations: 187.4 kB / 0.554 GB, free: 9.391 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4915, allocations: 0 / 0.554 GB, free: 9.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.5244, allocations: 10.71 MB / 0.5644 GB, free: 14.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/9.098, allocations: 0.8906 kB / 0.5644 GB, free: 14.76 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches