Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009509/0.0009508, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007797/0.0007798, allocations: 90.42 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3604/0.3604, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.38e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4994, allocations: 86.25 MB / 0.557 GB, free: 2.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.4996, allocations: 67.97 kB / 0.5571 GB, free: 2.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008173/0.5078, allocations: 3.616 MB / 0.5606 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5078, allocations: 0 / 0.5606 GB, free: 15.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5079, allocations: 0 / 0.5606 GB, free: 15.13 MB / 394.7 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.0003225/0.5082, allocations: 373.8 kB / 0.561 GB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.5082, allocations: 8.031 kB / 0.561 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.5083, allocations: 11.34 kB / 0.561 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.5085, allocations: 194.9 kB / 0.5612 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.5085, allocations: 0 / 0.5612 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.5085, allocations: 8 kB / 0.5612 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.01e-05/0.5086, allocations: 45.62 kB / 0.5613 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5087, allocations: 0 / 0.5613 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.5087, allocations: 1.375 kB / 0.5613 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5087, allocations: 0 / 0.5613 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.5087, allocations: 16 kB / 0.5613 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.509, allocations: 273.2 kB / 0.5615 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.5092, allocations: 42.5 kB / 0.5616 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.5092, allocations: 12.86 kB / 0.5616 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.5093, allocations: 0 / 0.5616 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5093, allocations: 42.56 kB / 0.5616 GB, free: 13.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.5093, allocations: 0 / 0.5616 GB, free: 13.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003384/0.5096, allocations: 109.5 kB / 0.5617 GB, free: 13.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.5097, allocations: 52.72 kB / 0.5618 GB, free: 13.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.5098, allocations: 149 kB / 0.5619 GB, free: 13.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.5099, allocations: 25.7 kB / 0.5619 GB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.5099, allocations: 103.9 kB / 0.562 GB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.5099, allocations: 15.8 kB / 0.5621 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5099, allocations: 4 kB / 0.5621 GB, free: 13.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.51, allocations: 314.8 kB / 0.5624 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.5101, allocations: 12 kB / 0.5624 GB, free: 13.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.5101, allocations: 8 kB / 0.5624 GB, free: 13.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.5101, allocations: 16.86 kB / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5101, allocations: 0 / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.893e-05/0.5102, allocations: 61.55 kB / 0.5625 GB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5103, allocations: 4 kB / 0.5625 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5103, allocations: 4 kB / 0.5625 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5103, allocations: 8.594 kB / 0.5625 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.5104, allocations: 19.42 kB / 0.5625 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5104, allocations: 0 / 0.5625 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.5104, allocations: 15.89 kB / 0.5625 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.5104, allocations: 0 / 0.5625 GB, free: 13.03 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.5105, allocations: 105 kB / 0.5626 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.5105, allocations: 11.91 kB / 0.5626 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.5107, allocations: 82.27 kB / 0.5627 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5107, allocations: 3.953 kB / 0.5627 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5107, allocations: 0 / 0.5627 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5107, allocations: 0 / 0.5627 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.511, allocations: 330.6 kB / 0.563 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.511, allocations: 0 / 0.563 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.5111, allocations: 19.92 kB / 0.563 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5111, allocations: 7.953 kB / 0.563 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5111, allocations: 4 kB / 0.563 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5111, allocations: 0 / 0.563 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5111, allocations: 4 kB / 0.563 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.5113, allocations: 151.5 kB / 0.5632 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.5113, allocations: 89.02 kB / 0.5633 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5114, allocations: 4.828 kB / 0.5633 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.5114, allocations: 15.98 kB / 0.5633 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.5115, allocations: 0 / 0.5633 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.5115, allocations: 7.938 kB / 0.5633 GB, free: 12.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.01e-05/0.5116, allocations: 129.3 kB / 0.5634 GB, free: 11.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5116, allocations: 0 / 0.5634 GB, free: 11.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.5118, allocations: 19.94 kB / 0.5634 GB, free: 11.96 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007744/0.5126, allocations: 367.2 kB / 0.5638 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.679e-05/0.5127, allocations: 28 kB / 0.5638 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5127, allocations: 4 kB / 0.5638 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.5127, allocations: 15.94 kB / 0.5638 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.5129, allocations: 19.36 kB / 0.5639 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.5132, allocations: 130.3 kB / 0.564 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.5135, allocations: 0.6965 MB / 0.5647 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.5135, allocations: 12.19 kB / 0.5647 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.5136, allocations: 15.44 kB / 0.5647 GB, free: 10.71 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5136, allocations: 0 / 0.5647 GB, free: 10.71 MB / 394.7 MB Notification: Performance of Templates: time 0.002907/0.5165, allocations: 1.08 MB / 0.5657 GB, free: 9.637 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches