Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.635/1.635, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001012/0.001012, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2398/0.2398, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003941, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.594, allocations: 86.44 MB / 0.5632 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5943, allocations: 75.72 kB / 0.5632 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.6057, allocations: 4.233 MB / 0.5674 GB, free: 9.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6058, allocations: 0 / 0.5674 GB, free: 9.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.6058, allocations: 4 kB / 0.5674 GB, free: 9.656 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005414/0.6064, allocations: 413.1 kB / 0.5678 GB, free: 9.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6064, allocations: 12.56 kB / 0.5678 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.6065, allocations: 11.81 kB / 0.5678 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.6068, allocations: 214.7 kB / 0.568 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.6068, allocations: 0 / 0.568 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.6068, allocations: 4 kB / 0.568 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.607, allocations: 57.55 kB / 0.5681 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.607, allocations: 11.84 kB / 0.5681 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.607, allocations: 3.75 kB / 0.5681 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.6071, allocations: 3.938 kB / 0.5681 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.6072, allocations: 35.47 kB / 0.5681 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.6077, allocations: 307.3 kB / 0.5684 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.6078, allocations: 64.55 kB / 0.5685 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.6078, allocations: 0 / 0.5685 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6079, allocations: 34.5 kB / 0.5685 GB, free: 8.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.6079, allocations: 4 kB / 0.5685 GB, free: 8.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007151/0.6086, allocations: 195.2 kB / 0.5687 GB, free: 8.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.6087, allocations: 62.41 kB / 0.5687 GB, free: 8.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.609, allocations: 200.6 kB / 0.5689 GB, free: 7.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.609, allocations: 25.7 kB / 0.569 GB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.6091, allocations: 111.9 kB / 0.5691 GB, free: 7.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.6092, allocations: 31.05 kB / 0.5691 GB, free: 7.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6092, allocations: 5 kB / 0.5691 GB, free: 7.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6093, allocations: 324.5 kB / 0.5694 GB, free: 7.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.6094, allocations: 25.17 kB / 0.5694 GB, free: 7.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.6095, allocations: 29.05 kB / 0.5695 GB, free: 7.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.303e-05/0.6096, allocations: 35.14 kB / 0.5695 GB, free: 7.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6096, allocations: 0 / 0.5695 GB, free: 7.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001982/0.6098, allocations: 104.7 kB / 0.5696 GB, free: 7.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6099, allocations: 8 kB / 0.5696 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6099, allocations: 7.984 kB / 0.5696 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6099, allocations: 0 / 0.5696 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.61, allocations: 16 kB / 0.5696 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.61, allocations: 7.938 kB / 0.5696 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.6101, allocations: 11.75 kB / 0.5696 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.6101, allocations: 4 kB / 0.5696 GB, free: 7.289 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001169/0.6102, allocations: 129.3 kB / 0.5698 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.6103, allocations: 15.81 kB / 0.5698 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.6106, allocations: 134.5 kB / 0.5699 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6106, allocations: 0 / 0.5699 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6106, allocations: 0 / 0.5699 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.6106, allocations: 3.953 kB / 0.5699 GB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.6111, allocations: 416.5 kB / 0.5703 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6112, allocations: 3.938 kB / 0.5703 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.6112, allocations: 19.98 kB / 0.5703 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6113, allocations: 0 / 0.5703 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.6113, allocations: 12.06 kB / 0.5704 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6113, allocations: 3.953 kB / 0.5704 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6113, allocations: 4 kB / 0.5704 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.6115, allocations: 206.4 kB / 0.5706 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.6116, allocations: 100.6 kB / 0.5707 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.6117, allocations: 0 / 0.5707 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.6117, allocations: 4 kB / 0.5707 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.6118, allocations: 15.56 kB / 0.5707 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.6118, allocations: 4 kB / 0.5707 GB, free: 6.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.6119, allocations: 169.5 kB / 0.5708 GB, free: 6.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6119, allocations: 3.938 kB / 0.5708 GB, free: 6.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.6122, allocations: 31.47 kB / 0.5709 GB, free: 6.051 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009028/0.6131, allocations: 419 kB / 0.5713 GB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.6133, allocations: 66.28 kB / 0.5713 GB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6133, allocations: 0 / 0.5713 GB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.6134, allocations: 51.45 kB / 0.5714 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.6137, allocations: 11.38 kB / 0.5714 GB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.6142, allocations: 287.1 kB / 0.5717 GB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.6145, allocations: 0.7121 MB / 0.5724 GB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.6146, allocations: 16.97 kB / 0.5724 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.6146, allocations: 18.94 kB / 0.5724 GB, free: 4.531 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6146, allocations: 0 / 0.5724 GB, free: 4.531 MB / 378.7 MB Notification: Performance of Templates: time 0.003601/0.6182, allocations: 1.266 MB / 0.5736 GB, free: 3.281 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches