Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001722/0.001722, allocations: 183.1 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.695/1.695, 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.0008574/0.0008571, allocations: 90.88 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.2139/0.2139, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.6078, allocations: 86.64 MB / 0.5634 GB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.6082, allocations: 72.58 kB / 0.5634 GB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.6196, allocations: 4.31 MB / 0.5676 GB, free: 9.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6197, allocations: 0 / 0.5676 GB, free: 9.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.6197, allocations: 4 kB / 0.5676 GB, free: 9.688 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004452/0.6201, allocations: 374.2 kB / 0.568 GB, free: 9.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6202, allocations: 12.02 kB / 0.568 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.6203, allocations: 7.906 kB / 0.568 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.6205, allocations: 194.5 kB / 0.5682 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6205, allocations: 0 / 0.5682 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.6206, allocations: 7.5 kB / 0.5682 GB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.6207, allocations: 65.83 kB / 0.5683 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6208, allocations: 4 kB / 0.5683 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.6208, allocations: 3.984 kB / 0.5683 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6208, allocations: 4 kB / 0.5683 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.6209, allocations: 23.67 kB / 0.5683 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.6213, allocations: 266.5 kB / 0.5686 GB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.6215, allocations: 53 kB / 0.5686 GB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.6216, allocations: 0 / 0.5686 GB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6216, allocations: 30.56 kB / 0.5686 GB, free: 8.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6216, allocations: 0 / 0.5686 GB, free: 8.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005713/0.6222, allocations: 159.5 kB / 0.5688 GB, free: 8.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.6223, allocations: 81.09 kB / 0.5689 GB, free: 8.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.6224, allocations: 127.4 kB / 0.569 GB, free: 8.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6224, allocations: 25.7 kB / 0.569 GB, free: 8.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.6225, allocations: 98.5 kB / 0.5691 GB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.6225, allocations: 19.12 kB / 0.5691 GB, free: 8.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.6225, allocations: 0 / 0.5691 GB, free: 8.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6226, allocations: 322.7 kB / 0.5694 GB, free: 7.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.6227, allocations: 19.17 kB / 0.5695 GB, free: 7.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.6228, allocations: 37.45 kB / 0.5695 GB, free: 7.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.6229, allocations: 23.55 kB / 0.5695 GB, free: 7.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6229, allocations: 0 / 0.5695 GB, free: 7.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001715/0.6231, allocations: 87.17 kB / 0.5696 GB, free: 7.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6231, allocations: 14.66 kB / 0.5696 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6231, allocations: 4.062 kB / 0.5696 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.6231, allocations: 3.938 kB / 0.5696 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.6232, allocations: 15.98 kB / 0.5696 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.6232, allocations: 0 / 0.5696 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.6233, allocations: 6.75 kB / 0.5696 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.6233, allocations: 7.953 kB / 0.5696 GB, free: 7.512 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 (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.903e-05/0.6234, allocations: 113.3 kB / 0.5698 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.6234, allocations: 11.89 kB / 0.5698 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.6237, allocations: 99.25 kB / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6237, allocations: 0 / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6237, allocations: 0 / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6237, allocations: 0 / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.6242, allocations: 356.1 kB / 0.5702 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6242, allocations: 3.938 kB / 0.5702 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.6242, allocations: 11.98 kB / 0.5702 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6242, allocations: 4 kB / 0.5702 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.6243, allocations: 7.938 kB / 0.5702 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6243, allocations: 0 / 0.5702 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.6243, allocations: 0 / 0.5702 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.6245, allocations: 189.8 kB / 0.5704 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.6246, allocations: 85.02 kB / 0.5705 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.6246, allocations: 7.438 kB / 0.5705 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.6247, allocations: 7.984 kB / 0.5705 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.6247, allocations: 192 / 0.5705 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.6247, allocations: 8 kB / 0.5705 GB, free: 6.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.973e-05/0.6248, allocations: 109.5 kB / 0.5706 GB, free: 6.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.719e-06/0.6249, allocations: 0 / 0.5706 GB, free: 6.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.6251, allocations: 31.12 kB / 0.5706 GB, free: 6.445 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 (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.0009909/0.6261, allocations: 444.4 kB / 0.5711 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.6263, allocations: 58.97 kB / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6263, allocations: 0 / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.6264, allocations: 31.48 kB / 0.5712 GB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.6266, allocations: 11.05 kB / 0.5712 GB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.6271, allocations: 178.1 kB / 0.5713 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6275, allocations: 0.6887 MB / 0.572 GB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.6275, allocations: 12.16 kB / 0.572 GB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.6276, allocations: 15.44 kB / 0.572 GB, free: 5.047 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6276, allocations: 0 / 0.572 GB, free: 5.047 MB / 378.7 MB Notification: Performance of Templates: time 0.004182/0.6318, allocations: 1.267 MB / 0.5733 GB, free: 3.789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches