Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001817, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001996/0.001996, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.16 MB / 336.8 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 66.86 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003159/0.1166, allocations: 1.675 MB / 470.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.1174, allocations: 455.1 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.1175, allocations: 0 / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.118, allocations: 455.2 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1183, allocations: 239.6 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.1188, allocations: 173.6 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.119, allocations: 163.7 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1191, allocations: 15.98 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1192, allocations: 107.7 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1194, allocations: 207.6 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.1195, allocations: 0 / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.1195, allocations: 27.98 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.1196, allocations: 87.62 kB / 472.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.1197, allocations: 99 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1199, allocations: 192 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.12, allocations: 0 / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.12, allocations: 3.938 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.12, allocations: 0 / 473 MB, free: 10.97 MB / 350.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.0007053/0.1207, allocations: 0.6376 MB / 473.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.929e-05/0.1208, allocations: 8.031 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.1208, allocations: 48.38 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1211, allocations: 296.1 kB / 474 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1211, allocations: 8.375 kB / 474 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1211, allocations: 384 / 474 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1213, allocations: 61.8 kB / 474.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1213, allocations: 0 / 474.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1213, allocations: 8 kB / 474.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1213, allocations: 0 / 474.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1215, allocations: 35.97 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.122, allocations: 408.6 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1222, allocations: 50.56 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.1222, allocations: 24.94 kB / 474.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1223, allocations: 0 / 474.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1223, allocations: 34.55 kB / 474.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1223, allocations: 0 / 474.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008207/0.1231, allocations: 311.9 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1232, allocations: 51.41 kB / 475 MB, free: 8.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/0.124, allocations: 0.8535 MB / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1241, allocations: 25.7 kB / 475.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1242, allocations: 212.1 kB / 476.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1243, allocations: 27.58 kB / 476.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.1243, allocations: 21.72 kB / 476.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1244, allocations: 374.7 kB / 476.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1246, allocations: 43.91 kB / 476.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1247, allocations: 31.97 kB / 476.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.1249, allocations: 88.8 kB / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1249, allocations: 0 / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003097/0.1252, allocations: 161 kB / 476.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1253, allocations: 4 kB / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1253, allocations: 0 / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1253, allocations: 0 / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1254, allocations: 23.92 kB / 476.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1254, allocations: 4 kB / 476.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.1255, allocations: 15.92 kB / 476.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1255, allocations: 4.312 kB / 476.9 MB, free: 6.914 MB / 350.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 0.0001752/0.1257, allocations: 214.3 kB / 477.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.1258, allocations: 43.44 kB / 477.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.1262, allocations: 181.7 kB / 477.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1262, allocations: 0 / 477.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1263, allocations: 4 kB / 477.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1263, allocations: 7.922 kB / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.127, allocations: 0.5023 MB / 477.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.127, allocations: 0 / 477.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.472e-05/0.1271, allocations: 23.98 kB / 477.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1271, allocations: 0 / 477.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1271, allocations: 3.938 kB / 477.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1271, allocations: 0 / 477.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1271, allocations: 0 / 477.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.1275, allocations: 258.9 kB / 478.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.1275, allocations: 104.6 kB / 478.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1276, allocations: 3.938 kB / 478.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.1277, allocations: 15.98 kB / 478.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1277, allocations: 7.984 kB / 478.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1277, allocations: 4 kB / 478.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006318/0.1284, allocations: 0.6472 MB / 478.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1284, allocations: 0 / 478.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1286, allocations: 20 kB / 478.9 MB, free: 4.781 MB / 350.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.0009376/0.1296, allocations: 401 kB / 479.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1299, allocations: 95.84 kB / 479.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1299, allocations: 0 / 479.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.13, allocations: 43.97 kB / 479.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1304, allocations: 33.61 kB / 479.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1317, allocations: 0.9276 MB / 480.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.1322, allocations: 0.834 MB / 481.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.1323, allocations: 15.44 kB / 481.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1323, allocations: 0 / 481.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Templates: time 0.008014/0.1403, allocations: 3.852 MB / 485.1 MB, free: 14.67 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches