Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008582/0.0008581, allocations: 94.02 kB / 18.01 MB, free: 5.605 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.001042/0.001042, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.411/1.411, allocations: 223.3 MB / 242.9 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1854/0.1854, allocations: 44.25 MB / 338.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003394, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1102, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001945/0.1122, allocations: 1.274 MB / 474.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1137, allocations: 0.9882 MB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.1138, allocations: 0 / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.114, allocations: 19.92 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1142, allocations: 31.91 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1145, allocations: 83.58 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1146, allocations: 55.78 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.1148, allocations: 8 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.1148, allocations: 19.92 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.115, allocations: 27.84 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.115, allocations: 4 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1151, allocations: 47.92 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1152, allocations: 7.938 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.1152, allocations: 49.55 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1154, allocations: 59.91 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1154, allocations: 0 / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1154, allocations: 0 / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1154, allocations: 0 / 475.6 MB, free: 10.62 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.0004538/0.1159, allocations: 379.6 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1159, allocations: 8.031 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.116, allocations: 8.922 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1162, allocations: 184.2 kB / 476.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1162, allocations: 4.312 kB / 476.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1162, allocations: 12.3 kB / 476.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1164, allocations: 71.52 kB / 476.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1164, allocations: 0 / 476.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1164, allocations: 0 / 476.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1164, allocations: 8 kB / 476.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1166, allocations: 23.98 kB / 476.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1169, allocations: 280.7 kB / 476.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1171, allocations: 46.56 kB / 476.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.1172, allocations: 20.94 kB / 476.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1172, allocations: 0 / 476.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1172, allocations: 30.56 kB / 476.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1172, allocations: 0 / 476.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005648/0.1178, allocations: 153.4 kB / 476.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1179, allocations: 77.11 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.118, allocations: 137.8 kB / 477 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.118, allocations: 29.7 kB / 477 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1181, allocations: 88.14 kB / 477.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1181, allocations: 23.64 kB / 477.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.1181, allocations: 13.72 kB / 477.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.1182, allocations: 318.8 kB / 477.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.1183, allocations: 19.98 kB / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.1184, allocations: 45.62 kB / 477.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1185, allocations: 52.84 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1185, allocations: 0 / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000191/0.1187, allocations: 81.7 kB / 477.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1188, allocations: 18.42 kB / 477.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1188, allocations: 0 / 477.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1188, allocations: 0 / 477.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.1189, allocations: 12 kB / 477.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1189, allocations: 7.938 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1189, allocations: 7.984 kB / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.119, allocations: 8 kB / 477.7 MB, free: 8.254 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.569e-05/0.119, allocations: 114.3 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1191, allocations: 7.906 kB / 477.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.1193, allocations: 97.62 kB / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1193, allocations: 0 / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1193, allocations: 0 / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1193, allocations: 0 / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.1198, allocations: 370.7 kB / 478.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1198, allocations: 0 / 478.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.1198, allocations: 15.98 kB / 478.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1198, allocations: 0 / 478.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1199, allocations: 3.938 kB / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1199, allocations: 3.938 kB / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1199, allocations: 0 / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1201, allocations: 183.5 kB / 478.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.1201, allocations: 85 kB / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1202, allocations: 8 kB / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1202, allocations: 7.938 kB / 478.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1203, allocations: 8.266 kB / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1203, allocations: 0 / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.217e-05/0.1204, allocations: 107.3 kB / 478.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1204, allocations: 0 / 478.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1207, allocations: 23.98 kB / 478.7 MB, free: 7.133 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.1217, allocations: 450.2 kB / 479.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1219, allocations: 47.97 kB / 479.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1219, allocations: 4 kB / 479.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.122, allocations: 27.92 kB / 479.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1224, allocations: 23.22 kB / 479.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.1227, allocations: 198.2 kB / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.123, allocations: 0.6887 MB / 480.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.123, allocations: 23.42 kB / 480.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.123, allocations: 0 / 480.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.003285/0.1263, allocations: 1.537 MB / 481.7 MB, free: 4.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches