Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, 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.001634/0.001634, 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.317/1.317, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.1949/0.1949, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 60.38 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002989/0.1269, allocations: 1.568 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.1277, allocations: 415.2 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1277, allocations: 4 kB / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.128, allocations: 95.73 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1282, allocations: 71.67 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1285, allocations: 111.7 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1286, allocations: 67.83 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.1287, allocations: 16.19 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.1288, allocations: 43.83 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.1289, allocations: 47.88 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1289, allocations: 7.938 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.129, allocations: 47.98 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.129, allocations: 23.86 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1291, allocations: 31.75 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1293, allocations: 95.98 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1293, allocations: 0 / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.1293, allocations: 3.984 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1293, allocations: 3.938 kB / 471.9 MB, free: 11.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004982/0.1298, allocations: 407 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1298, allocations: 12.03 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1299, allocations: 8.844 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1301, allocations: 210.6 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1301, allocations: 4.375 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1301, allocations: 4.375 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1303, allocations: 53.61 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1303, allocations: 8 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1303, allocations: 0 / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1303, allocations: 0 / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.1304, allocations: 27.92 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.1309, allocations: 312.6 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.131, allocations: 50.5 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.131, allocations: 20.94 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1311, allocations: 0 / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1311, allocations: 34.56 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1311, allocations: 0 / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008781/0.132, allocations: 237 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.132, allocations: 51.41 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1322, allocations: 234.6 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1323, allocations: 29.7 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.1323, allocations: 104.1 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1324, allocations: 19.7 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1324, allocations: 21.72 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1325, allocations: 326.8 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.1326, allocations: 31.97 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.1327, allocations: 27.98 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1328, allocations: 76.83 kB / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1329, allocations: 0 / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002205/0.1331, allocations: 117.9 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1331, allocations: 4 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1331, allocations: 4 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1331, allocations: 0 / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.1332, allocations: 19.98 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1333, allocations: 7.875 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1333, allocations: 11.92 kB / 474.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1333, allocations: 4 kB / 474.3 MB, free: 9.055 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 0.0001036/0.1334, allocations: 129.8 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1335, allocations: 19.78 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.1337, allocations: 127 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1338, allocations: 0 / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.1338, allocations: 3.938 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1338, allocations: 3.938 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.1343, allocations: 423.7 kB / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1343, allocations: 0 / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.1344, allocations: 23.89 kB / 475 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1344, allocations: 4 kB / 475 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1344, allocations: 8 kB / 475 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1344, allocations: 0 / 475 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1344, allocations: 80 / 475 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1347, allocations: 216.2 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.1348, allocations: 96.94 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1348, allocations: 0 / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1349, allocations: 8 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1349, allocations: 7.984 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1349, allocations: 4 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1351, allocations: 173 kB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1351, allocations: 3.938 kB / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1353, allocations: 23.98 kB / 475.6 MB, free: 7.699 MB / 350.1 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.001032/0.1364, allocations: 456.3 kB / 476 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1366, allocations: 75.89 kB / 476.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1366, allocations: 4 kB / 476.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.1367, allocations: 43.91 kB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1371, allocations: 23.86 kB / 476.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1376, allocations: 271.3 kB / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1379, allocations: 0.7157 MB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.138, allocations: 20.95 kB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.138, allocations: 11.44 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.138, allocations: 4 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Templates: time 0.003806/0.1418, allocations: 1.365 MB / 478.5 MB, free: 4.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches