Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009157/0.0009157, allocations: 92.31 kB / 20.95 MB, free: 3.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009385/0.0009385, allocations: 164.9 kB / 24.26 MB, free: 296 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9208/0.9208, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 34.24 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 376.7 MB, free: 3.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.387e-05, allocations: 2.312 kB / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002058/0.002072, allocations: 1.599 MB / 378.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.002751, allocations: 0.5409 MB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.002809, allocations: 3.938 kB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.003015, allocations: 27.78 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.003243, allocations: 75.56 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.003435, allocations: 95.69 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.003572, allocations: 83.7 kB / 379.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.003657, allocations: 11.84 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.003715, allocations: 35.91 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.003778, allocations: 27.91 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.003792, allocations: 4 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.003915, allocations: 91.88 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.003956, allocations: 15.92 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.003986, allocations: 19.92 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.004189, allocations: 155.5 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004192, allocations: 4 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004192, allocations: 0 / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004196, allocations: 0 / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003723/0.004568, allocations: 345.5 kB / 379.8 MB, free: 240 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.004603, allocations: 8.031 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.004631, allocations: 34.75 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.004669, allocations: 12.89 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.00482, allocations: 137.6 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.004827, allocations: 4.375 kB / 380 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.004846, allocations: 4.375 kB / 380 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.004991, allocations: 93.66 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004999, allocations: 192 / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.005013, allocations: 4.375 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.005018, allocations: 4.125 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.005078, allocations: 27.92 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.005421, allocations: 264 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.005514, allocations: 50.55 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.005551, allocations: 28.91 kB / 380.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.005572, allocations: 12 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.005596, allocations: 34.5 kB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.005598, allocations: 0 / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004372/0.006035, allocations: 185.3 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.006085, allocations: 85.11 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.006209, allocations: 157 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.006219, allocations: 25.7 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.006266, allocations: 92.14 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.006286, allocations: 35.73 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.006319, allocations: 25.72 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.00641, allocations: 322.8 kB / 381.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.006459, allocations: 27.97 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.006523, allocations: 75.33 kB / 381.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.512e-05/0.006619, allocations: 76.77 kB / 381.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006619, allocations: 0 / 381.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001418/0.006761, allocations: 121.5 kB / 381.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006773, allocations: 4 kB / 381.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006777, allocations: 0 / 381.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.006789, allocations: 0 / 381.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.006862, allocations: 19.98 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.006867, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.006894, allocations: 7.984 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.006904, allocations: 8 kB / 381.8 MB, free: 14.09 MB / 362.7 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 (9): * Single equations (assignments): 9 * 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 6.064e-05/0.006965, allocations: 117.8 kB / 381.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.006989, allocations: 23.84 kB / 381.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.007164, allocations: 126.4 kB / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007166, allocations: 0 / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.00717, allocations: 0 / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007173, allocations: 0 / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.007484, allocations: 357.5 kB / 382.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007486, allocations: 0 / 382.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.007524, allocations: 23.98 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007526, allocations: 0 / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.007533, allocations: 0 / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007535, allocations: 384 / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.007537, allocations: 7.984 kB / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.007686, allocations: 203.3 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.007697, allocations: 15.91 kB / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.007711, allocations: 4 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.007749, allocations: 4 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.00778, allocations: 11.98 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.007784, allocations: 4 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.247e-05/0.007857, allocations: 123.2 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007857, allocations: 3.938 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.008055, allocations: 43.86 kB / 382.8 MB, free: 12.96 MB / 362.7 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 (8): * Single equations (assignments): 8 * 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.001003/0.009057, allocations: 1.153 MB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.009205, allocations: 71.95 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.009207, allocations: 3.938 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.009252, allocations: 39.91 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.009456, allocations: 12 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.01062, allocations: 1.574 MB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.01067, allocations: 79.33 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.399e-05/0.01072, allocations: 24.61 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.01078, allocations: 32.48 kB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.01078, allocations: 0 / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.02641, allocations: 4.382 MB / 390.2 MB, free: 5.625 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/6.943, allocations: 4 kB / 390.2 MB, free: 5.621 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.971921175718307]