Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00239/0.002389, allocations: 179.4 kB / 8.364 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 2.004/2.004, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001129/0.001128, allocations: 93.27 kB / 262.1 MB, free: 13.88 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.2969/0.2969, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.228e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4196, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5836, allocations: 85.6 MB / 0.5495 GB, free: 13.72 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5839, allocations: 71.97 kB / 0.5496 GB, free: 13.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.5992, allocations: 3.541 MB / 0.553 GB, free: 10.11 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5992, allocations: 8 kB / 0.553 GB, free: 10.1 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5992, allocations: 0 / 0.553 GB, free: 10.1 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.0004654/0.5997, allocations: 374.2 kB / 0.5534 GB, free: 9.691 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.5998, allocations: 8.031 kB / 0.5534 GB, free: 9.684 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.5998, allocations: 4 kB / 0.5534 GB, free: 9.68 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.6001, allocations: 190.9 kB / 0.5536 GB, free: 9.453 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.6002, allocations: 3.984 kB / 0.5536 GB, free: 9.449 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.6002, allocations: 7.906 kB / 0.5536 GB, free: 9.441 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.239e-05/0.6003, allocations: 15.98 kB / 0.5536 GB, free: 9.426 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.6004, allocations: 41.64 kB / 0.5536 GB, free: 9.379 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6005, allocations: 0 / 0.5536 GB, free: 9.379 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6005, allocations: 4 kB / 0.5536 GB, free: 9.375 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6005, allocations: 0 / 0.5536 GB, free: 9.375 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.6009, allocations: 249.5 kB / 0.5539 GB, free: 9.094 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.6011, allocations: 38.56 kB / 0.5539 GB, free: 9.047 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.6012, allocations: 12.86 kB / 0.5539 GB, free: 9.031 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.6012, allocations: 0 / 0.5539 GB, free: 9.031 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.6013, allocations: 34.5 kB / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.6013, allocations: 0 / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004745/0.6017, allocations: 97.42 kB / 0.5541 GB, free: 8.887 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.6018, allocations: 51.41 kB / 0.5541 GB, free: 8.824 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.602, allocations: 147.3 kB / 0.5542 GB, free: 8.672 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.602, allocations: 25.7 kB / 0.5543 GB, free: 8.641 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.6021, allocations: 158.5 kB / 0.5544 GB, free: 8.484 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.6022, allocations: 19.75 kB / 0.5544 GB, free: 8.465 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.6022, allocations: 0 / 0.5544 GB, free: 8.465 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6023, allocations: 314.8 kB / 0.5547 GB, free: 8.148 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.6024, allocations: 15.92 kB / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.6024, allocations: 8 kB / 0.5548 GB, free: 8.125 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.6025, allocations: 8 kB / 0.5548 GB, free: 8.117 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6025, allocations: 4 kB / 0.5548 GB, free: 8.113 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001356/0.6026, allocations: 57.84 kB / 0.5548 GB, free: 8.051 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6026, allocations: 7.938 kB / 0.5548 GB, free: 8.043 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.6027, allocations: 0 / 0.5548 GB, free: 8.043 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6027, allocations: 4 kB / 0.5548 GB, free: 8.039 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.6028, allocations: 12 kB / 0.5548 GB, free: 8.027 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6028, allocations: 4 kB / 0.5549 GB, free: 8.023 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.6029, allocations: 7.984 kB / 0.5549 GB, free: 8.016 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.6029, allocations: 4 kB / 0.5549 GB, free: 8.012 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.359e-05/0.603, allocations: 105.1 kB / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.6031, allocations: 7.906 kB / 0.555 GB, free: 7.895 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.6033, allocations: 74.02 kB / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6033, allocations: 0 / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6033, allocations: 4 kB / 0.555 GB, free: 7.816 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6033, allocations: 0 / 0.555 GB, free: 7.816 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.6038, allocations: 307.1 kB / 0.5553 GB, free: 7.473 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6038, allocations: 0 / 0.5553 GB, free: 7.473 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.6039, allocations: 19.94 kB / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6039, allocations: 0 / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6039, allocations: 0 / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.604, allocations: 0 / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.604, allocations: 7.984 kB / 0.5554 GB, free: 7.445 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.6042, allocations: 151.4 kB / 0.5555 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.6042, allocations: 93 kB / 0.5556 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.6043, allocations: 0 / 0.5556 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6044, allocations: 8 kB / 0.5556 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.6045, allocations: 7.984 kB / 0.5556 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.6045, allocations: 4.188 kB / 0.5556 GB, free: 7.152 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.6047, allocations: 112.5 kB / 0.5557 GB, free: 7.043 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6047, allocations: 3.938 kB / 0.5557 GB, free: 7.039 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.605, allocations: 16 kB / 0.5557 GB, free: 7.023 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.0009888/0.606, allocations: 346.1 kB / 0.5561 GB, free: 6.719 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.6062, allocations: 24 kB / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6062, allocations: 4 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.6062, allocations: 15.94 kB / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.6065, allocations: 19.08 kB / 0.5561 GB, free: 6.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.6069, allocations: 145.5 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.6073, allocations: 0.6963 MB / 0.557 GB, free: 5.766 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.6074, allocations: 19.42 kB / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6074, allocations: 0 / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of Templates: time 0.00423/0.6116, allocations: 1.401 MB / 0.5583 GB, free: 4.352 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches