Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001244/0.001244, allocations: 187 kB / 19.34 MB, free: 3.641 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.372/1.372, allocations: 222.9 MB / 243 MB, free: 15.14 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.2298/0.2298, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 69 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1167, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002875/0.1196, allocations: 1.544 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.1203, allocations: 411.2 kB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.1204, allocations: 4 kB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.1206, allocations: 19.86 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1208, allocations: 43.77 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1211, allocations: 107.5 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1213, allocations: 51.84 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1214, allocations: 23.98 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.1214, allocations: 23.86 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.1215, allocations: 15.92 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1215, allocations: 4 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.1216, allocations: 31.98 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1216, allocations: 11.94 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1217, allocations: 23.84 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1218, allocations: 75.73 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1218, allocations: 0 / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1218, allocations: 0 / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1219, allocations: 0 / 473.1 MB, free: 11.27 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.0004176/0.1223, allocations: 375.2 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1223, allocations: 8.031 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.1224, allocations: 8.844 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1225, allocations: 188.2 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1225, allocations: 8.359 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1226, allocations: 4.375 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1227, allocations: 57.75 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1227, allocations: 7.844 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1227, allocations: 7.984 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1227, allocations: 0 / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.413e-05/0.1228, allocations: 19.98 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1232, allocations: 280.9 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1234, allocations: 42.5 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.1234, allocations: 24.94 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1234, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1235, allocations: 34.56 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1235, allocations: 0 / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005037/0.124, allocations: 145.3 kB / 474.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.124, allocations: 59.41 kB / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1242, allocations: 144.3 kB / 474.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1242, allocations: 25.7 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.1242, allocations: 96.12 kB / 474.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1243, allocations: 7.812 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.1243, allocations: 17.72 kB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1244, allocations: 326.8 kB / 474.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.1245, allocations: 23.92 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.1245, allocations: 23.98 kB / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1247, allocations: 56.81 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1247, allocations: 3.938 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001696/0.1249, allocations: 81.58 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1249, allocations: 4 kB / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1249, allocations: 0 / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1249, allocations: 0 / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.125, allocations: 19.98 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.125, allocations: 0 / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.125, allocations: 4.25 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1251, allocations: 3.984 kB / 475.2 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.556e-05/0.1251, allocations: 121.7 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.1252, allocations: 7.906 kB / 475.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.1254, allocations: 105.9 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1254, allocations: 0 / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1254, allocations: 3.984 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1254, allocations: 0 / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.1258, allocations: 350.5 kB / 475.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1258, allocations: 0 / 475.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.1259, allocations: 11.98 kB / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1259, allocations: 4 kB / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1259, allocations: 4 kB / 475.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1259, allocations: 3.938 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1259, allocations: 3.938 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1261, allocations: 179.4 kB / 475.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.1262, allocations: 85.02 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1262, allocations: 0 / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1263, allocations: 11.92 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1263, allocations: 8.281 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1263, allocations: 0 / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.1264, allocations: 114.1 kB / 476.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1264, allocations: 3.938 kB / 476.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1266, allocations: 16 kB / 476.2 MB, free: 7.859 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.000847/0.1275, allocations: 404.6 kB / 476.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1277, allocations: 55.97 kB / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1277, allocations: 3.938 kB / 476.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.1278, allocations: 31.91 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1281, allocations: 18.62 kB / 476.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.1285, allocations: 173.4 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1287, allocations: 0.6885 MB / 477.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.125e-05/0.1288, allocations: 19.97 kB / 477.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.1288, allocations: 11.44 kB / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1288, allocations: 0 / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of Templates: time 0.109/0.2378, allocations: 1.094 MB / 478.7 MB, free: 5.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches