Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0008143/0.0008143, allocations: 96.27 kB / 20.96 MB, free: 3.469 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.001103/0.001103, allocations: 156.9 kB / 24.26 MB, free: 168 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.9044/0.9044, allocations: 177 MB / 204.5 MB, free: 5.605 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.2413/0.2413, allocations: 34.24 MB / 295.2 MB, free: 0.6406 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.123e-05, allocations: 8.141 kB / 376.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002335/0.002356, allocations: 1.611 MB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.003108, allocations: 0.533 MB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.003166, allocations: 0 / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.003483, allocations: 119.6 kB / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.003794, allocations: 135.5 kB / 379.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.004031, allocations: 99.56 kB / 379.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.004186, allocations: 95.73 kB / 379.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.004281, allocations: 11.98 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.004355, allocations: 55.88 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.004467, allocations: 87.81 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.004483, allocations: 4 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.004563, allocations: 47.92 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.00462, allocations: 27.91 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.00465, allocations: 19.88 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.004825, allocations: 119.6 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004827, allocations: 0 / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.004828, allocations: 0 / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.004833, allocations: 0 / 379.7 MB, free: 416 kB / 346.7 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.0003892/0.005222, allocations: 357.4 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.005262, allocations: 12.03 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.005303, allocations: 30.75 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.005348, allocations: 28.83 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.005486, allocations: 153.4 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.005494, allocations: 384 / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.005515, allocations: 4.375 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.005627, allocations: 54.23 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.005635, allocations: 192 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.005643, allocations: 384 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.00565, allocations: 8.125 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.005711, allocations: 23.97 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.006006, allocations: 271.9 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.006086, allocations: 42.56 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.00612, allocations: 24.88 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.00614, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.006161, allocations: 38.56 kB / 380.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.006162, allocations: 0 / 380.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005976/0.00676, allocations: 237.4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.006787, allocations: 51.41 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.00697, allocations: 279.8 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.00698, allocations: 25.7 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.007032, allocations: 120.1 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.007054, allocations: 31.69 kB / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.007085, allocations: 21.7 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.007162, allocations: 330.8 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.007207, allocations: 27.98 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.007245, allocations: 23.98 kB / 381.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.007332, allocations: 65.11 kB / 381.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007333, allocations: 0 / 381.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001363/0.007469, allocations: 113.5 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.007483, allocations: 4 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007489, allocations: 0 / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.007504, allocations: 96 / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.007581, allocations: 27.97 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.007586, allocations: 0 / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.007617, allocations: 4 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.007623, allocations: 4 kB / 382.1 MB, free: 13.84 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 (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 prepare postOptimizeDAE: time 8.046e-05/0.007703, allocations: 133.8 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.007729, allocations: 19.91 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.007921, allocations: 119 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.007925, allocations: 4 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.00793, allocations: 4 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.007936, allocations: 3.984 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.008297, allocations: 374.4 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.008299, allocations: 0 / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.00834, allocations: 19.98 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008342, allocations: 0 / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.008351, allocations: 0 / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.008355, allocations: 7.984 kB / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.008358, allocations: 7.969 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.008509, allocations: 208.2 kB / 382.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.008523, allocations: 19.89 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.00854, allocations: 4 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.008578, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.008614, allocations: 11.92 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.00862, allocations: 4 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.008743, allocations: 208.2 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008743, allocations: 7.938 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000191/0.008934, allocations: 23.94 kB / 383.2 MB, free: 12.59 MB / 362.7 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 (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.001389/0.01032, allocations: 1.121 MB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01047, allocations: 59.89 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01047, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.01052, allocations: 31.98 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.0108, allocations: 23.16 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.01229, allocations: 1.839 MB / 386.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.01236, allocations: 105.1 kB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.163e-05/0.01242, allocations: 13.03 kB / 386.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.01248, allocations: 44.48 kB / 386.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01248, allocations: 0 / 386.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.03067, allocations: 4.175 MB / 390.6 MB, free: 5.219 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.863, allocations: 6.969 kB / 390.6 MB, free: 5.215 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.851122800260782]