Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.0009844/0.0009844, 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.001224/0.001224, 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.9067/0.9067, 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.258/0.258, allocations: 34.25 MB / 295.2 MB, free: 0.6719 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 376.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.58e-05, allocations: 4.562 kB / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002352/0.002378, allocations: 1.674 MB / 378.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.003142, allocations: 0.5681 MB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.003201, allocations: 3.938 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.003621, allocations: 447.1 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.003985, allocations: 299.2 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.004295, allocations: 179.4 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.004489, allocations: 183.6 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.004587, allocations: 12.22 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004707, allocations: 123.8 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.004881, allocations: 243.5 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.004897, allocations: 4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.004983, allocations: 47.92 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.005064, allocations: 99.62 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.005106, allocations: 35.75 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.005357, allocations: 263 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005361, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.005363, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.005368, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006185/0.005987, allocations: 0.597 MB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.006033, allocations: 8.031 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.006071, allocations: 34.75 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.006142, allocations: 56.59 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.006368, allocations: 250 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.006376, allocations: 384 / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.006402, allocations: 12.31 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.006551, allocations: 62.17 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.006567, allocations: 192 / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.006577, allocations: 384 / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.006584, allocations: 4.125 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.006657, allocations: 39.97 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.007064, allocations: 375.8 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.007143, allocations: 46.5 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.007173, allocations: 20.94 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.00719, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.007208, allocations: 38.59 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.007209, allocations: 0 / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006104/0.007819, allocations: 332.8 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.007852, allocations: 55.39 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.008401, allocations: 0.8738 MB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.008414, allocations: 29.7 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.008533, allocations: 220.1 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.008561, allocations: 31.73 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.008592, allocations: 21.72 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.008697, allocations: 366.7 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.008754, allocations: 35.98 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.008797, allocations: 31.97 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.805e-05/0.008895, allocations: 88.95 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008896, allocations: 3.938 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001558/0.009051, allocations: 149.5 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.009063, allocations: 4 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.009067, allocations: 0 / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.00908, allocations: 3.984 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.009148, allocations: 27.98 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.009153, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.009187, allocations: 4 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.009194, allocations: 4 kB / 384.6 MB, free: 11.26 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 0.0001301/0.009324, allocations: 221.6 kB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.00936, allocations: 43.72 kB / 384.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.009571, allocations: 173.6 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.009573, allocations: 4 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.009576, allocations: 0 / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009579, allocations: 0 / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.00997, allocations: 0.4904 MB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.009972, allocations: 0 / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.01001, allocations: 19.98 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01001, allocations: 3.938 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01002, allocations: 0 / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01002, allocations: 7.938 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01002, allocations: 8.031 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.01019, allocations: 248.1 kB / 385.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.01022, allocations: 39.67 kB / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.01023, allocations: 0 / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.01028, allocations: 15.92 kB / 385.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.01031, allocations: 7.984 kB / 385.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.01032, allocations: 4 kB / 385.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003928/0.01071, allocations: 0.6589 MB / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01071, allocations: 3.938 kB / 386.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.01089, allocations: 32 kB / 386.6 MB, free: 9.207 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.001038/0.01193, allocations: 1.157 MB / 387.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.01207, allocations: 79.89 kB / 387.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01207, allocations: 0 / 387.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.01212, allocations: 39.92 kB / 387.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01238, allocations: 34.09 kB / 387.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.01475, allocations: 3.426 MB / 391.3 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.01489, allocations: 224.2 kB / 391.6 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.01494, allocations: 24.72 kB / 391.6 MB, free: 4.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.01504, allocations: 128.4 kB / 391.7 MB, free: 4.137 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01504, allocations: 0 / 391.7 MB, free: 4.137 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.03286, allocations: 7.216 MB / 398.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/6.95, allocations: 3.938 kB / 398.9 MB, free: 12.91 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.966301149688661]