Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000809/0.000809, allocations: 96.72 kB / 18.01 MB, free: 5.734 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.0008895/0.0008898, allocations: 179.3 kB / 18.91 MB, free: 4.871 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.437/1.437, allocations: 223.3 MB / 242.9 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1874/0.1874, allocations: 44.25 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09852, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001783/0.1003, allocations: 1.27 MB / 474.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1019, allocations: 0.996 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.1019, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1021, allocations: 19.92 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1023, allocations: 31.91 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1026, allocations: 103.8 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1027, allocations: 59.77 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.1028, allocations: 12 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.1029, allocations: 15.92 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.103, allocations: 27.84 kB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1031, allocations: 3.938 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1032, allocations: 43.98 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.1032, allocations: 7.938 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.1033, allocations: 49.56 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1034, allocations: 71.89 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1034, allocations: 0 / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1034, allocations: 0 / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1034, allocations: 0 / 475.6 MB, free: 10.6 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.0004191/0.1039, allocations: 366 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1039, allocations: 12.03 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.104, allocations: 8.922 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1041, allocations: 184.2 kB / 476.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.1042, allocations: 8.375 kB / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1042, allocations: 384 / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1044, allocations: 71.52 kB / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1044, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1044, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1044, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1045, allocations: 31.98 kB / 476.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1049, allocations: 288.7 kB / 476.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1051, allocations: 46.56 kB / 476.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.1051, allocations: 20.94 kB / 476.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1052, allocations: 0 / 476.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1052, allocations: 34.56 kB / 476.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.1052, allocations: 0 / 476.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005652/0.1058, allocations: 161.4 kB / 476.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1058, allocations: 77.11 kB / 476.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.106, allocations: 140.1 kB / 477 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.106, allocations: 25.7 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1061, allocations: 96.12 kB / 477.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1061, allocations: 27.59 kB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.1061, allocations: 13.72 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1062, allocations: 322.8 kB / 477.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.1063, allocations: 27.92 kB / 477.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.1064, allocations: 41.77 kB / 477.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1066, allocations: 64.81 kB / 477.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1066, allocations: 0 / 477.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002069/0.1068, allocations: 89.7 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1068, allocations: 4 kB / 477.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1068, allocations: 3.938 kB / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1068, allocations: 4 kB / 477.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.1069, allocations: 19.92 kB / 477.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1069, allocations: 0 / 477.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.107, allocations: 7.984 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.107, allocations: 0 / 477.8 MB, free: 8.207 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 7.925e-05/0.1071, allocations: 122.3 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1071, allocations: 7.906 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.1074, allocations: 101.6 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1074, allocations: 288 / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1074, allocations: 3.984 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1074, allocations: 4 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.1079, allocations: 366.3 kB / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1079, allocations: 3.984 kB / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.108, allocations: 12 kB / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.108, allocations: 4 kB / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.108, allocations: 320 / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.108, allocations: 7.922 kB / 478.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.108, allocations: 4 kB / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1083, allocations: 191.5 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.1083, allocations: 85 kB / 478.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1083, allocations: 0 / 478.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.1084, allocations: 11.94 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1085, allocations: 7.984 kB / 478.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1085, allocations: 4 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1086, allocations: 103.3 kB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1086, allocations: 0 / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1089, allocations: 19.98 kB / 478.8 MB, free: 7.062 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.0009603/0.1098, allocations: 454.5 kB / 479.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1101, allocations: 59.97 kB / 479.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1101, allocations: 3.938 kB / 479.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.1102, allocations: 31.97 kB / 479.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1105, allocations: 12 kB / 479.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1109, allocations: 214.3 kB / 479.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1113, allocations: 0.6848 MB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1113, allocations: 19.42 kB / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1113, allocations: 0 / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of Templates: time 0.003245/0.1146, allocations: 1.575 MB / 481.9 MB, free: 4.137 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches