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.001134/0.001134, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001139/0.001139, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.322/1.322, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.1906/0.1906, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 64.34 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003004/0.1261, allocations: 1.556 MB / 470.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1277, allocations: 1.016 MB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.1277, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.128, allocations: 27.84 kB / 471.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1282, allocations: 51.7 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1286, allocations: 114.4 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1287, allocations: 51.91 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1289, allocations: 11.98 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.1289, allocations: 15.94 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1291, allocations: 35.78 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1291, allocations: 0 / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1292, allocations: 51.97 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1293, allocations: 15.92 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.1294, allocations: 23.86 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1296, allocations: 83.78 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1296, allocations: 0 / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.738e-06/0.1296, allocations: 7.922 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1296, allocations: 0 / 472.3 MB, free: 11.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.000522/0.1301, allocations: 371.6 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1302, allocations: 12.03 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.1302, allocations: 4.844 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1305, allocations: 196.1 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1305, allocations: 4.375 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1305, allocations: 384 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1307, allocations: 71.52 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1307, allocations: 0 / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1307, allocations: 7.938 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1308, allocations: 0 / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.1309, allocations: 19.98 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1313, allocations: 284.8 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1315, allocations: 42.55 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1316, allocations: 16.86 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1316, allocations: 0 / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1316, allocations: 38.64 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1316, allocations: 0 / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005778/0.1322, allocations: 149.3 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1323, allocations: 77.11 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1324, allocations: 137.8 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1325, allocations: 25.7 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1325, allocations: 100.1 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1326, allocations: 15.69 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.1327, allocations: 21.72 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1328, allocations: 322.8 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.1329, allocations: 19.98 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-05/0.1329, allocations: 33.7 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1331, allocations: 56.84 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1331, allocations: 0 / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001713/0.1333, allocations: 81.58 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1333, allocations: 8 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1333, allocations: 0 / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1333, allocations: 0 / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.1334, allocations: 15.92 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1334, allocations: 8 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.1334, allocations: 0 / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1334, allocations: 7.984 kB / 474.4 MB, free: 8.977 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.734e-05/0.1335, allocations: 117.8 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.1336, allocations: 8.188 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1338, allocations: 97.86 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1338, allocations: 7.922 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1338, allocations: 4 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1338, allocations: 3.984 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1342, allocations: 362.4 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1342, allocations: 0 / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.1343, allocations: 12 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1343, allocations: 0 / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1343, allocations: 0 / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1343, allocations: 3.938 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1343, allocations: 7.984 kB / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1346, allocations: 183.4 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1347, allocations: 81.09 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1347, allocations: 4 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.1348, allocations: 3.938 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1348, allocations: 4 kB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.1348, allocations: 11.98 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.1349, allocations: 105.9 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1349, allocations: 0 / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1352, allocations: 23.91 kB / 475.4 MB, free: 7.852 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.001048/0.1362, allocations: 439.2 kB / 475.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1364, allocations: 55.89 kB / 475.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1365, allocations: 0 / 475.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.467e-05/0.1365, allocations: 23.98 kB / 475.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.1369, allocations: 15.98 kB / 476 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.1374, allocations: 169.4 kB / 476.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1377, allocations: 0.6924 MB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.835e-05/0.1378, allocations: 20.16 kB / 476.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1378, allocations: 19.42 kB / 476.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1378, allocations: 0 / 476.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003635/0.1414, allocations: 1.374 MB / 478.2 MB, free: 5.184 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/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