Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001124/0.001124, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 79.81 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3676, allocations: 62.43 MB / 0.5305 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.004839/0.3725, allocations: 1.598 MB / 0.5321 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3747, allocations: 1.16 MB / 0.5332 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3748, allocations: 0 / 0.5332 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.3752, allocations: 33.28 kB / 0.5333 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.3756, allocations: 77.75 kB / 0.5333 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.3761, allocations: 121.1 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3763, allocations: 67.38 kB / 0.5335 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3764, allocations: 14.75 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.3765, allocations: 25.55 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.3767, allocations: 40.14 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3768, allocations: 2.75 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.377, allocations: 99.66 kB / 0.5337 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.3771, allocations: 15.2 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.3772, allocations: 20.81 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.3775, allocations: 146.9 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3776, allocations: 4 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3776, allocations: 1.344 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3776, allocations: 0 / 0.5339 GB, free: 10.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006205/0.3782, allocations: 395.5 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3783, allocations: 9.5 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.3783, allocations: 40.02 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.3784, allocations: 8.547 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3786, allocations: 197.7 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3786, allocations: 1.688 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3787, allocations: 5.625 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3788, allocations: 64.47 kB / 0.5346 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3789, allocations: 0 / 0.5346 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3789, allocations: 1.062 kB / 0.5346 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3789, allocations: 7.922 kB / 0.5346 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.379, allocations: 26.39 kB / 0.5346 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.3795, allocations: 287.8 kB / 0.5349 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.3798, allocations: 44.53 kB / 0.5349 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.3798, allocations: 16.62 kB / 0.5349 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.3799, allocations: 9.094 kB / 0.5349 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3799, allocations: 31.62 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.644e-06/0.3799, allocations: 0 / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006706/0.3806, allocations: 146.2 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.3807, allocations: 82.23 kB / 0.5352 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3809, allocations: 152.7 kB / 0.5353 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3809, allocations: 25.7 kB / 0.5354 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.381, allocations: 95.3 kB / 0.5354 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.381, allocations: 13.89 kB / 0.5355 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3811, allocations: 23.86 kB / 0.5355 GB, free: 9.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3812, allocations: 320 kB / 0.5358 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.3813, allocations: 23.38 kB / 0.5358 GB, free: 8.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.3814, allocations: 44.23 kB / 0.5359 GB, free: 8.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3816, allocations: 51.58 kB / 0.5359 GB, free: 8.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3816, allocations: 0 / 0.5359 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002018/0.3818, allocations: 87.45 kB / 0.536 GB, free: 8.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3818, allocations: 9.438 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3818, allocations: 0 / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3818, allocations: 1.656 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.3819, allocations: 17.64 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3819, allocations: 0 / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.382, allocations: 12 kB / 0.536 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.382, allocations: 1.375 kB / 0.536 GB, free: 8.57 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.0001023/0.3821, allocations: 118 kB / 0.5361 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.3822, allocations: 12.06 kB / 0.5361 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3824, allocations: 96.34 kB / 0.5362 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3825, allocations: 0 / 0.5362 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3825, allocations: 1.375 kB / 0.5362 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3825, allocations: 7.922 kB / 0.5362 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.383, allocations: 356 kB / 0.5366 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.383, allocations: 4.25 kB / 0.5366 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.383, allocations: 13.61 kB / 0.5366 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.383, allocations: 0 / 0.5366 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3831, allocations: 9.312 kB / 0.5366 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3831, allocations: 4 kB / 0.5366 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3831, allocations: 1.375 kB / 0.5366 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3833, allocations: 181.8 kB / 0.5368 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.3834, allocations: 91.8 kB / 0.5369 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3834, allocations: 3.938 kB / 0.5369 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.3835, allocations: 4.125 kB / 0.5369 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3836, allocations: 9.359 kB / 0.5369 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3836, allocations: 1.375 kB / 0.5369 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3837, allocations: 110.5 kB / 0.537 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3837, allocations: 0 / 0.537 GB, free: 7.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.384, allocations: 40.61 kB / 0.537 GB, free: 7.605 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.001736/0.3858, allocations: 1.107 MB / 0.5381 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.386, allocations: 58.19 kB / 0.5382 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.386, allocations: 1.125 kB / 0.5382 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.3861, allocations: 28.47 kB / 0.5382 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3865, allocations: 11.78 kB / 0.5382 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3884, allocations: 1.452 MB / 0.5396 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3888, allocations: 0.7018 MB / 0.5403 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.53e-05/0.3889, allocations: 21.95 kB / 0.5403 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.389, allocations: 26.73 kB / 0.5404 GB, free: 4.625 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.389, allocations: 4 kB / 0.5404 GB, free: 4.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.4139, allocations: 3.24 MB / 0.5435 GB, free: 2.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.029, allocations: 6.125 kB / 0.5435 GB, free: 2.758 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches