Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 107 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.001151/0.001151, 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.393/1.393, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2123/0.2123, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 66.11 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1204, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002916/0.1234, allocations: 1.637 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1248, allocations: 1.015 MB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.1249, allocations: 0 / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1252, allocations: 23.91 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1254, allocations: 31.92 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1257, allocations: 95.81 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1259, allocations: 71.83 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.126, allocations: 24.17 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.1261, allocations: 27.86 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1262, allocations: 31.84 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1262, allocations: 4 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1264, allocations: 51.98 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.1264, allocations: 19.91 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.1265, allocations: 27.8 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1266, allocations: 104 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1267, allocations: 0 / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1267, allocations: 0 / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1267, allocations: 0 / 471.9 MB, free: 11.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004501/0.1271, allocations: 387.2 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1272, allocations: 12.03 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.1272, allocations: 12.84 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1274, allocations: 188.3 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1275, allocations: 4.312 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1275, allocations: 8.281 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1277, allocations: 79.33 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1277, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1277, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1277, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1278, allocations: 43.91 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1283, allocations: 304.8 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1284, allocations: 54.58 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.1285, allocations: 20.98 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1285, allocations: 11.97 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1285, allocations: 38.5 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1285, allocations: 0 / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006988/0.1292, allocations: 189.2 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1293, allocations: 77.11 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1295, allocations: 156.3 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1295, allocations: 25.7 kB / 473.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.1296, allocations: 104 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1296, allocations: 19.64 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1297, allocations: 25.72 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1298, allocations: 318.8 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.1299, allocations: 27.98 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.13, allocations: 49.75 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1302, allocations: 72.81 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1302, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002156/0.1304, allocations: 109.5 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1305, allocations: 6.5 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1305, allocations: 3.984 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1305, allocations: 0 / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1306, allocations: 20.03 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1306, allocations: 3.938 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1307, allocations: 7.984 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1307, allocations: 0 / 474.2 MB, free: 9.004 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 (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 9.351e-05/0.1308, allocations: 122.4 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1308, allocations: 11.84 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.1311, allocations: 126.2 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1311, allocations: 0 / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1312, allocations: 3.938 kB / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1312, allocations: 3.984 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1317, allocations: 410.4 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1317, allocations: 0 / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.1318, allocations: 15.98 kB / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1318, allocations: 7.938 kB / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1318, allocations: 0 / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1318, allocations: 4 kB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1318, allocations: 0 / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1321, allocations: 211.3 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.1321, allocations: 81.05 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1322, allocations: 384 / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.1322, allocations: 15.98 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1323, allocations: 4 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.1323, allocations: 8 kB / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.767e-05/0.1324, allocations: 107.2 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1324, allocations: 7.875 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1327, allocations: 27.91 kB / 475.3 MB, free: 7.754 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 (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.001025/0.1337, allocations: 432.5 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.134, allocations: 75.88 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.134, allocations: 0 / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1341, allocations: 39.97 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1345, allocations: 27.98 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.1349, allocations: 217.8 kB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1352, allocations: 0.6924 MB / 476.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.199e-05/0.1353, allocations: 24.95 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.1354, allocations: 19.42 kB / 476.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of SimCode: time 1.874e-06/0.1354, allocations: 0 / 476.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of Templates: time 0.004159/0.1395, allocations: 1.461 MB / 478.3 MB, free: 4.902 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches