Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108.2 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 186 kB / 17.56 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1925/0.1925, allocations: 43.51 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 67.86 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.08706, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002541/0.08963, allocations: 1.666 MB / 442.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005225/0.09018, allocations: 351.5 kB / 442.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.09025, allocations: 0 / 442.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.09049, allocations: 51.86 kB / 442.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.09069, allocations: 55.81 kB / 442.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.09102, allocations: 139.3 kB / 442.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.09116, allocations: 75.77 kB / 443 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.09126, allocations: 23.92 kB / 443 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.09131, allocations: 31.91 kB / 443 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.09139, allocations: 47.83 kB / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.09141, allocations: 0 / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.09148, allocations: 39.92 kB / 443.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.09154, allocations: 27.91 kB / 443.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.09158, allocations: 23.81 kB / 443.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.0917, allocations: 71.84 kB / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.09171, allocations: 4 kB / 443.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09171, allocations: 0 / 443.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.09172, allocations: 0 / 443.2 MB, free: 4.762 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00036/0.09209, allocations: 395.1 kB / 443.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.09213, allocations: 11.89 kB / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.09217, allocations: 16.73 kB / 443.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.0923, allocations: 202.1 kB / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.09232, allocations: 384 / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.09234, allocations: 8.375 kB / 443.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.0925, allocations: 65.78 kB / 443.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.09251, allocations: 3.984 kB / 443.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.09253, allocations: 4 kB / 443.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.09254, allocations: 4 kB / 443.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.09266, allocations: 31.97 kB / 444 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.09299, allocations: 320.7 kB / 444.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.0931, allocations: 46.56 kB / 444.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.09317, allocations: 28.92 kB / 444.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.0932, allocations: 3.984 kB / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.09321, allocations: 30.56 kB / 444.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.09322, allocations: 4 kB / 444.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006562/0.09388, allocations: 229 kB / 444.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.09393, allocations: 51.41 kB / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.09405, allocations: 182.1 kB / 444.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.09406, allocations: 29.7 kB / 444.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.0941, allocations: 100.1 kB / 445 MB, free: 2.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.09413, allocations: 31.55 kB / 445 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.09416, allocations: 17.72 kB / 445 MB, free: 2.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.09421, allocations: 330.7 kB / 445.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.09432, allocations: 43.91 kB / 445.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/0.09441, allocations: 39.97 kB / 445.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.0946, allocations: 84.86 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.09461, allocations: 4 kB / 445.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002289/0.09484, allocations: 121.5 kB / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.09486, allocations: 4 kB / 445.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.09487, allocations: 8 kB / 445.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.09489, allocations: 0 / 445.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.09499, allocations: 19.92 kB / 445.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.09501, allocations: 4 kB / 445.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.09506, allocations: 11.92 kB / 445.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.09507, allocations: 4 kB / 445.7 MB, free: 2.098 MB / 318.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.09514, allocations: 137.8 kB / 445.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.09517, allocations: 11.91 kB / 445.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.09545, allocations: 134.3 kB / 446 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09546, allocations: 4 kB / 446 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.09547, allocations: 0 / 446 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.09548, allocations: 3.938 kB / 446 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.09587, allocations: 410.8 kB / 446.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.09589, allocations: 0 / 446.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.09597, allocations: 19.98 kB / 446.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.09598, allocations: 0 / 446.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.09599, allocations: 3.938 kB / 446.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.096, allocations: 7.984 kB / 446.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.096, allocations: 0 / 446.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.09624, allocations: 227.3 kB / 446.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.09627, allocations: 85 kB / 446.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.0963, allocations: 15.88 kB / 446.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.09638, allocations: 7.984 kB / 446.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.09642, allocations: 4 kB / 446.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.09643, allocations: 0 / 446.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.0965, allocations: 147.2 kB / 446.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.09651, allocations: 0 / 446.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.09674, allocations: 20 kB / 446.9 MB, free: 0.7734 MB / 318.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007845/0.09753, allocations: 409.5 kB / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.0978, allocations: 91.86 kB / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09781, allocations: 4 kB / 447.4 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.09793, allocations: 47.97 kB / 447.4 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.09826, allocations: 19.27 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.09867, allocations: 291.8 kB / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.09893, allocations: 0.708 MB / 448.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.09898, allocations: 15.44 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09898, allocations: 0 / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.003172/0.1022, allocations: 1.694 MB / 450.2 MB, free: 13.54 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches