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.001468/0.001469, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001869/0.00187, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.425/1.425, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2267/0.2267, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 68.55 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1157, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003127/0.1189, allocations: 1.545 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1204, allocations: 1.024 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.1205, allocations: 3.938 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.1207, allocations: 23.86 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.121, allocations: 47.77 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1213, allocations: 111.6 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1214, allocations: 55.89 kB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.1215, allocations: 12 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.1216, allocations: 19.92 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1217, allocations: 31.84 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1218, allocations: 0 / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1219, allocations: 55.91 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.1219, allocations: 7.938 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.122, allocations: 23.86 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1222, allocations: 83.78 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1222, allocations: 4 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1222, allocations: 0 / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1222, allocations: 0 / 473 MB, free: 11.3 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.0004355/0.1226, allocations: 375.6 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1227, allocations: 12.03 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.1227, allocations: 4.844 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1229, allocations: 196.1 kB / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1229, allocations: 4.375 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.123, allocations: 4.375 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1231, allocations: 67.52 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1231, allocations: 3.984 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1232, allocations: 4 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1232, allocations: 3.938 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.1233, allocations: 19.98 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1236, allocations: 284.8 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1239, allocations: 42.55 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.1239, allocations: 16.86 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1239, allocations: 0 / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.124, allocations: 38.64 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.124, allocations: 0 / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005604/0.1245, allocations: 149.3 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1246, allocations: 77.11 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1247, allocations: 140 kB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1248, allocations: 25.7 kB / 474.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1248, allocations: 96.12 kB / 474.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1249, allocations: 15.75 kB / 474.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1249, allocations: 17.72 kB / 474.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.125, allocations: 326.8 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.1251, allocations: 23.92 kB / 474.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.1252, allocations: 33.64 kB / 474.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1253, allocations: 60.84 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1253, allocations: 0 / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.1255, allocations: 81.77 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1256, allocations: 8 kB / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1256, allocations: 4.062 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1256, allocations: 0 / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.1257, allocations: 15.92 kB / 475.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1257, allocations: 0 / 475.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.1257, allocations: 8 kB / 475.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1258, allocations: 7.984 kB / 475.1 MB, free: 8.934 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.963e-05/0.1258, allocations: 121.8 kB / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1259, allocations: 7.906 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.1261, allocations: 89.62 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1261, allocations: 0 / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1261, allocations: 0 / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1262, allocations: 7.984 kB / 475.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1266, allocations: 354.4 kB / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1266, allocations: 3.938 kB / 475.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.1266, allocations: 12 kB / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1267, allocations: 0 / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1267, allocations: 0 / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.1267, allocations: 3.938 kB / 475.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1267, allocations: 0 / 475.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1269, allocations: 191.4 kB / 475.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.127, allocations: 77.11 kB / 475.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.127, allocations: 7.984 kB / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1271, allocations: 3.938 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1271, allocations: 4.188 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1271, allocations: 7.984 kB / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.1272, allocations: 107.3 kB / 476.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1272, allocations: 0 / 476.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1275, allocations: 27.91 kB / 476.1 MB, free: 7.82 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.001026/0.1285, allocations: 453.3 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1288, allocations: 59.89 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1288, allocations: 0 / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.1289, allocations: 23.98 kB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1292, allocations: 15.98 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.1296, allocations: 195.2 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1299, allocations: 0.6885 MB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.1299, allocations: 15.42 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1299, allocations: 0 / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of Templates: time 0.00342/0.1334, allocations: 1.608 MB / 479.1 MB, free: 4.895 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