Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 106.5 kB / 16.64 MB, free: 6.809 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.002375/0.002375, allocations: 190.5 kB / 17.56 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2102/0.2102, allocations: 43.52 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 69.19 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002909/0.1061, allocations: 1.604 MB / 442.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.1067, allocations: 324.1 kB / 442.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.1067, allocations: 4 kB / 442.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.1069, allocations: 23.86 kB / 442.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1071, allocations: 23.91 kB / 442.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1073, allocations: 90.45 kB / 442.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1075, allocations: 51.91 kB / 442.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.1076, allocations: 11.94 kB / 442.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.1076, allocations: 23.86 kB / 442.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.1077, allocations: 23.86 kB / 442.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1077, allocations: 7.984 kB / 442.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.1077, allocations: 28 kB / 442.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.1078, allocations: 11.92 kB / 442.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.1078, allocations: 19.88 kB / 442.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1079, allocations: 51.92 kB / 442.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1079, allocations: 0 / 442.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.108, allocations: 0 / 442.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.108, allocations: 7.938 kB / 443 MB, free: 5.055 MB / 318.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.0003465/0.1083, allocations: 379.1 kB / 443.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1084, allocations: 19.83 kB / 443.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1084, allocations: 12.84 kB / 443.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1085, allocations: 184.3 kB / 443.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.1086, allocations: 384 / 443.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1086, allocations: 384 / 443.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1087, allocations: 61.78 kB / 443.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1087, allocations: 0 / 443.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1087, allocations: 4 kB / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.1087, allocations: 0 / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.1088, allocations: 23.98 kB / 443.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1091, allocations: 284.7 kB / 443.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1093, allocations: 42.56 kB / 443.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.1094, allocations: 20.86 kB / 444 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1094, allocations: 4.078 kB / 444 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.1094, allocations: 30.56 kB / 444 MB, free: 3.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1094, allocations: 0 / 444 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004743/0.1099, allocations: 145.3 kB / 444.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1099, allocations: 55.41 kB / 444.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.11, allocations: 142.1 kB / 444.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.11, allocations: 25.7 kB / 444.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.1101, allocations: 92.14 kB / 444.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1101, allocations: 23.59 kB / 444.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.1101, allocations: 21.7 kB / 444.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.1102, allocations: 318.8 kB / 444.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.1103, allocations: 27.97 kB / 444.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.1103, allocations: 23.98 kB / 444.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1104, allocations: 56.77 kB / 444.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1104, allocations: 0 / 444.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001457/0.1106, allocations: 77.67 kB / 445 MB, free: 2.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1106, allocations: 11.98 kB / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1106, allocations: 0 / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1106, allocations: 4 kB / 445 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.1107, allocations: 11.94 kB / 445 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1107, allocations: 256 / 445 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.1107, allocations: 11.89 kB / 445 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1108, allocations: 8 kB / 445 MB, free: 2.746 MB / 318.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 5.529e-05/0.1108, allocations: 121.7 kB / 445.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1108, allocations: 4 kB / 445.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.111, allocations: 97.95 kB / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.111, allocations: 0 / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1111, allocations: 3.938 kB / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1111, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.1114, allocations: 362.3 kB / 445.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1114, allocations: 0 / 445.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.1115, allocations: 12 kB / 445.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1115, allocations: 4 kB / 445.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1115, allocations: 0 / 445.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1115, allocations: 3.938 kB / 445.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1115, allocations: 3.984 kB / 445.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1116, allocations: 183.4 kB / 445.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.1117, allocations: 77.11 kB / 445.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1117, allocations: 7.984 kB / 445.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.1118, allocations: 7.938 kB / 445.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.1118, allocations: 4 kB / 445.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1118, allocations: 3.984 kB / 445.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.1119, allocations: 110.5 kB / 446 MB, free: 1.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1119, allocations: 0 / 446 MB, free: 1.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1121, allocations: 20 kB / 446 MB, free: 1.641 MB / 318.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.0008222/0.1129, allocations: 406.7 kB / 446.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1131, allocations: 63.89 kB / 446.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1131, allocations: 0 / 446.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/0.1132, allocations: 23.98 kB / 446.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1135, allocations: 19.97 kB / 446.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.1139, allocations: 219.2 kB / 446.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.114, allocations: 0.6963 MB / 447.4 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.114, allocations: 11.44 kB / 447.5 MB, free: 232 kB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.114, allocations: 0 / 447.5 MB, free: 232 kB / 318.1 MB Notification: Performance of Templates: time 0.002935/0.117, allocations: 1.386 MB / 448.8 MB, free: 14.84 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches