Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001741/0.001741, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.399/1.399, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.202/0.202, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.66 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00313/0.1149, allocations: 1.631 MB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.1157, allocations: 439 kB / 472 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.1158, allocations: 0 / 472 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.116, allocations: 47.8 kB / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1162, allocations: 51.77 kB / 472.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1166, allocations: 135.4 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1167, allocations: 71.77 kB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.1168, allocations: 19.98 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.1169, allocations: 27.91 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.117, allocations: 43.83 kB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.117, allocations: 4 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.1171, allocations: 51.98 kB / 472.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.1172, allocations: 19.92 kB / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.1172, allocations: 31.73 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1174, allocations: 95.7 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1174, allocations: 0 / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1174, allocations: 4 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1174, allocations: 0 / 472.6 MB, free: 11.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004748/0.1179, allocations: 399.4 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1179, allocations: 11.97 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.118, allocations: 12.84 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1182, allocations: 200 kB / 473.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1182, allocations: 4.375 kB / 473.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1182, allocations: 4.375 kB / 473.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1184, allocations: 69.73 kB / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1184, allocations: 0 / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1184, allocations: 0 / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1184, allocations: 0 / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1186, allocations: 39.97 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.119, allocations: 308.7 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.1192, allocations: 54.55 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.1193, allocations: 24.97 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1193, allocations: 4 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1193, allocations: 30.56 kB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1193, allocations: 0 / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001404/0.1207, allocations: 388.9 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1208, allocations: 59.34 kB / 474.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1209, allocations: 164.4 kB / 474.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.121, allocations: 25.7 kB / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.121, allocations: 100.1 kB / 474.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.1211, allocations: 39.44 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.1211, allocations: 25.64 kB / 474.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1212, allocations: 322.8 kB / 474.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1214, allocations: 47.95 kB / 474.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1215, allocations: 40.53 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1217, allocations: 96.81 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1218, allocations: 0 / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003058/0.1221, allocations: 145.8 kB / 475.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1221, allocations: 4 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1221, allocations: 0 / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1221, allocations: 4 kB / 475.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1222, allocations: 35.91 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1223, allocations: 4 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.1223, allocations: 11.92 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1223, allocations: 4 kB / 475.2 MB, free: 8.875 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 (11): * Single equations (assignments): 11 * 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 9.25e-05/0.1224, allocations: 129.8 kB / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.1225, allocations: 11.81 kB / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.1228, allocations: 158.3 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1229, allocations: 7.938 kB / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1229, allocations: 0 / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1229, allocations: 0 / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1235, allocations: 468 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1235, allocations: 0 / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1236, allocations: 27.98 kB / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1236, allocations: 8.062 kB / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1236, allocations: 3.984 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1237, allocations: 7.938 kB / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1237, allocations: 0 / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.124, allocations: 249 kB / 476.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.1241, allocations: 89 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1241, allocations: 0 / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.1242, allocations: 8 kB / 476.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1242, allocations: 11.98 kB / 476.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.1242, allocations: 7.938 kB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.1243, allocations: 127.2 kB / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1243, allocations: 0 / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1246, allocations: 31.92 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00101/0.1256, allocations: 449.4 kB / 477 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.126, allocations: 115.8 kB / 477.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.126, allocations: 0 / 477.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1262, allocations: 63.89 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1265, allocations: 27.59 kB / 477.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.127, allocations: 278 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1273, allocations: 0.7079 MB / 478.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.1273, allocations: 23.42 kB / 478.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1273, allocations: 0 / 478.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Templates: time 0.003516/0.1309, allocations: 1.842 MB / 480 MB, free: 4.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches