Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 89.55 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3087/0.3087, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.009e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4104, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.5753, allocations: 85.63 MB / 0.5495 GB, free: 13.66 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5756, allocations: 71.97 kB / 0.5496 GB, free: 13.59 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.5922, allocations: 3.889 MB / 0.5534 GB, free: 9.707 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5922, allocations: 4 kB / 0.5534 GB, free: 9.703 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.5923, allocations: 4 kB / 0.5534 GB, free: 9.699 MB / 395.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.0004881/0.5928, allocations: 382.2 kB / 0.5538 GB, free: 9.281 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5928, allocations: 8.031 kB / 0.5538 GB, free: 9.273 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.5929, allocations: 7.906 kB / 0.5538 GB, free: 9.266 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.5932, allocations: 205.7 kB / 0.554 GB, free: 9.027 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5932, allocations: 4 kB / 0.554 GB, free: 9.023 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.5933, allocations: 0 / 0.554 GB, free: 9.023 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.605e-05/0.5934, allocations: 12 kB / 0.554 GB, free: 9.012 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.738e-05/0.5935, allocations: 41.69 kB / 0.554 GB, free: 8.965 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5935, allocations: 0 / 0.554 GB, free: 8.965 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5935, allocations: 0 / 0.554 GB, free: 8.965 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5935, allocations: 0 / 0.554 GB, free: 8.965 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.594, allocations: 269.3 kB / 0.5543 GB, free: 8.664 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.5942, allocations: 30.58 kB / 0.5543 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.5942, allocations: 12.86 kB / 0.5543 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.5943, allocations: 4.078 kB / 0.5543 GB, free: 8.605 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5943, allocations: 38.56 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.5943, allocations: 0 / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004918/0.5948, allocations: 93.33 kB / 0.5545 GB, free: 8.461 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.5949, allocations: 51.41 kB / 0.5545 GB, free: 8.398 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.5952, allocations: 185.3 kB / 0.5547 GB, free: 8.211 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5952, allocations: 29.64 kB / 0.5547 GB, free: 8.176 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5953, allocations: 170.5 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.5953, allocations: 11.75 kB / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5954, allocations: 0 / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5955, allocations: 326.8 kB / 0.5552 GB, free: 7.668 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.5956, allocations: 4 kB / 0.5552 GB, free: 7.664 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.5956, allocations: 8 kB / 0.5552 GB, free: 7.656 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.5956, allocations: 8.156 kB / 0.5552 GB, free: 7.648 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5957, allocations: 8 kB / 0.5552 GB, free: 7.641 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000138/0.5958, allocations: 57.62 kB / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.5959, allocations: 4 kB / 0.5553 GB, free: 7.574 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5959, allocations: 144 / 0.5553 GB, free: 7.574 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5959, allocations: 0 / 0.5553 GB, free: 7.574 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.596, allocations: 15.98 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.5961, allocations: 3.984 kB / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/0.5962, allocations: 4 kB / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.5962, allocations: 8 kB / 0.5553 GB, free: 7.543 MB / 395.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 () * 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 8.508e-05/0.5963, allocations: 104.9 kB / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.5963, allocations: 11.81 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.5965, allocations: 78.33 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.5966, allocations: 4 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5966, allocations: 0 / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.5966, allocations: 0 / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.5971, allocations: 323.1 kB / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5971, allocations: 4 kB / 0.5558 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.5972, allocations: 12 kB / 0.5558 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5972, allocations: 3.984 kB / 0.5558 GB, free: 6.953 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5973, allocations: 0 / 0.5558 GB, free: 6.953 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5973, allocations: 0 / 0.5558 GB, free: 6.953 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5973, allocations: 3.938 kB / 0.5558 GB, free: 6.949 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.5975, allocations: 167.4 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.5976, allocations: 89.02 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.5976, allocations: 0 / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5978, allocations: 11.98 kB / 0.5561 GB, free: 6.652 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.5978, allocations: 4 kB / 0.5561 GB, free: 6.648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.5978, allocations: 4 kB / 0.5561 GB, free: 6.645 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.598, allocations: 152 kB / 0.5562 GB, free: 6.496 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5981, allocations: 0 / 0.5562 GB, free: 6.496 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.5984, allocations: 19.98 kB / 0.5563 GB, free: 6.477 MB / 395.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 () * 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.0009962/0.5994, allocations: 338.5 kB / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.5996, allocations: 27.98 kB / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5996, allocations: 0 / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.5996, allocations: 12 kB / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.6, allocations: 27.23 kB / 0.5567 GB, free: 6.121 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.6005, allocations: 193.7 kB / 0.5568 GB, free: 5.902 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6008, allocations: 0.7079 MB / 0.5575 GB, free: 5.168 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.6009, allocations: 15.44 kB / 0.5575 GB, free: 5.152 MB / 395.1 MB Notification: Performance of SimCode: time 3.046e-06/0.6009, allocations: 0 / 0.5575 GB, free: 5.152 MB / 395.1 MB Notification: Performance of Templates: time 0.004643/0.6056, allocations: 1.54 MB / 0.559 GB, free: 3.617 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches