Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 110.8 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.18 MB / 336.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.34 kB / 407.9 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09904, allocations: 60.83 MB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003218/0.1023, allocations: 1.613 MB / 470.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.1031, allocations: 411.3 kB / 470.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.1032, allocations: 8 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1034, allocations: 19.91 kB / 470.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1036, allocations: 23.92 kB / 470.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1039, allocations: 99.31 kB / 470.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1041, allocations: 67.77 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1042, allocations: 15.98 kB / 471 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.1042, allocations: 19.92 kB / 471 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.1043, allocations: 19.86 kB / 471 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1043, allocations: 4 kB / 471 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.1044, allocations: 35.98 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1045, allocations: 11.92 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.1045, allocations: 19.88 kB / 471.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1047, allocations: 79.73 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1047, allocations: 0 / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1047, allocations: 0 / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1047, allocations: 0 / 471.1 MB, free: 12.32 MB / 350.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.0004485/0.1051, allocations: 391.3 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1052, allocations: 8.031 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1052, allocations: 8.844 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.1054, allocations: 188.2 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1054, allocations: 4.375 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1054, allocations: 384 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1056, allocations: 53.75 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1056, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1056, allocations: 8 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1056, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.1057, allocations: 27.97 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1061, allocations: 276.8 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1063, allocations: 46.5 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1064, allocations: 24.94 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1064, allocations: 0 / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.1064, allocations: 30.56 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1065, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005637/0.107, allocations: 149.3 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1071, allocations: 55.41 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1072, allocations: 156.2 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1072, allocations: 29.7 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.1073, allocations: 92.14 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1073, allocations: 11.81 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1074, allocations: 21.7 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1075, allocations: 322.8 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.1076, allocations: 27.97 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-05/0.1077, allocations: 23.92 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1078, allocations: 48.83 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1078, allocations: 0 / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001952/0.108, allocations: 89.5 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1081, allocations: 4 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1081, allocations: 0 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1081, allocations: 4.25 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.1082, allocations: 16 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1082, allocations: 4 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.1082, allocations: 3.984 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.1082, allocations: 7.938 kB / 473.2 MB, free: 10.01 MB / 350.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 9.036e-05/0.1083, allocations: 118.3 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1084, allocations: 7.906 kB / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.1086, allocations: 105.9 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1086, allocations: 0 / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1087, allocations: 0 / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1087, allocations: 3.938 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.1091, allocations: 354.5 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1091, allocations: 0 / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.1092, allocations: 19.92 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1092, allocations: 4 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1092, allocations: 0 / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1092, allocations: 3.938 kB / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1093, allocations: 288 / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1095, allocations: 183.4 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.1095, allocations: 89 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1096, allocations: 0 / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1096, allocations: 11.94 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.1097, allocations: 3.984 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1097, allocations: 4 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.879e-05/0.1098, allocations: 121.1 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1098, allocations: 0 / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.11, allocations: 12 kB / 474.2 MB, free: 8.887 MB / 350.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.0009396/0.111, allocations: 403.9 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1112, allocations: 51.97 kB / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1112, allocations: 0 / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.1113, allocations: 27.92 kB / 474.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1117, allocations: 23.92 kB / 474.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.1121, allocations: 209.6 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1124, allocations: 0.6962 MB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.981e-05/0.1125, allocations: 15.97 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.1125, allocations: 15.42 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1125, allocations: 0 / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of Templates: time 0.003623/0.1161, allocations: 1.065 MB / 476.7 MB, free: 6.496 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches