Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 198 kB / 18.73 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.405/1.405, 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.2189/0.2189, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 62.45 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003177/0.3394, allocations: 1.598 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3412, allocations: 1.159 MB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.3413, allocations: 1.281 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.3416, allocations: 28.91 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.3419, allocations: 81.38 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3422, allocations: 106.3 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3424, allocations: 71.31 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3425, allocations: 15.58 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.3426, allocations: 29.69 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3427, allocations: 38.42 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3428, allocations: 3.656 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.3429, allocations: 99.91 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.343, allocations: 15.67 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.3431, allocations: 23.73 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3433, allocations: 138.3 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3433, allocations: 1.406 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3434, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3434, allocations: 0 / 0.5339 GB, free: 10.87 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.0005591/0.3439, allocations: 407.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.344, allocations: 12.91 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.344, allocations: 32.03 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3441, allocations: 8.547 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.3443, allocations: 201.6 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3443, allocations: 1.406 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3443, allocations: 1.594 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3445, allocations: 68.39 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3445, allocations: 9.578 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3445, allocations: 0 / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.3446, allocations: 5.25 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.3447, allocations: 29.52 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.3451, allocations: 284.2 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3453, allocations: 48.53 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.3454, allocations: 15.72 kB / 0.5349 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3454, allocations: 1.375 kB / 0.5349 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3455, allocations: 39.88 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3455, allocations: 0 / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007251/0.3462, allocations: 150 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3463, allocations: 82.48 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3465, allocations: 145.3 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3465, allocations: 27.08 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.3466, allocations: 94.83 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3466, allocations: 18.59 kB / 0.5355 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3466, allocations: 17.84 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3468, allocations: 325.5 kB / 0.5358 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.3468, allocations: 22.98 kB / 0.5358 GB, free: 8.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.3469, allocations: 32.83 kB / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3471, allocations: 50.95 kB / 0.5359 GB, free: 8.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3471, allocations: 0 / 0.5359 GB, free: 8.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.3473, allocations: 91.92 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3473, allocations: 9.531 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3473, allocations: 0 / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3473, allocations: 1.375 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.3474, allocations: 13.61 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.3474, allocations: 0 / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.3475, allocations: 8.062 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3475, allocations: 5.359 kB / 0.536 GB, free: 8.738 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 8.326e-05/0.3476, allocations: 114 kB / 0.5361 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3476, allocations: 8.078 kB / 0.5361 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.3479, allocations: 103.1 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3479, allocations: 1.375 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3479, allocations: 4.062 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3479, allocations: 5.312 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.3484, allocations: 354.5 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3484, allocations: 1.344 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.3485, allocations: 17.31 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3485, allocations: 0 / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3485, allocations: 9.047 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3485, allocations: 5.031 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3485, allocations: 0 / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3488, allocations: 178.9 kB / 0.5368 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3489, allocations: 87.25 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3489, allocations: 7.938 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.349, allocations: 7.625 kB / 0.5369 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.349, allocations: 6.547 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.349, allocations: 1.5 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.609e-05/0.3491, allocations: 111.8 kB / 0.537 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3491, allocations: 0.7812 kB / 0.537 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.3494, allocations: 40.45 kB / 0.537 GB, free: 7.777 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.001497/0.3509, allocations: 1.108 MB / 0.5381 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.3512, allocations: 59 kB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3512, allocations: 0 / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.3513, allocations: 33.22 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3517, allocations: 19.14 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3534, allocations: 1.441 MB / 0.5396 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3537, allocations: 0.7057 MB / 0.5403 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.846e-05/0.3538, allocations: 25.36 kB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.3538, allocations: 26.92 kB / 0.5404 GB, free: 4.785 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3538, allocations: 0 / 0.5404 GB, free: 4.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3836, allocations: 3.237 MB / 0.5435 GB, free: 2.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.156, allocations: 5.859 kB / 0.5435 GB, free: 2.926 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_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_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches