Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008569, allocations: 97.14 kB / 17.35 MB, free: 6.344 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.0008508/0.0008508, allocations: 170.9 kB / 18.25 MB, free: 5.504 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.417/1.417, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2148/0.2148, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 11.98 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002392/0.1166, allocations: 1.345 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.1175, allocations: 415.3 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.1175, allocations: 0 / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.1178, allocations: 71.83 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.118, allocations: 51.88 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1183, allocations: 122.5 kB / 474.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1185, allocations: 79.81 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1186, allocations: 15.98 kB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.1187, allocations: 23.92 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1188, allocations: 51.75 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1189, allocations: 0 / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.119, allocations: 47.92 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1191, allocations: 27.91 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.1192, allocations: 57.44 kB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1194, allocations: 107.6 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1194, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1194, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1194, allocations: 0 / 474.7 MB, free: 10.9 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.0006434/0.1201, allocations: 403.4 kB / 475 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1201, allocations: 16.03 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1202, allocations: 12.75 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1205, allocations: 196.1 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1205, allocations: 384 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1205, allocations: 4.375 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1208, allocations: 65.8 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1208, allocations: 0 / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1208, allocations: 7.938 kB / 475.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1208, allocations: 8 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.121, allocations: 39.97 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.1215, allocations: 304.7 kB / 475.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.1218, allocations: 66.58 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1219, allocations: 32.97 kB / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.122, allocations: 4 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.122, allocations: 34.56 kB / 475.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.122, allocations: 0 / 475.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001587/0.1236, allocations: 468.7 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1237, allocations: 59.28 kB / 476.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1239, allocations: 202.2 kB / 476.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1239, allocations: 25.7 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.124, allocations: 112 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.124, allocations: 35.45 kB / 476.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1241, allocations: 13.72 kB / 476.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1242, allocations: 322.8 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1244, allocations: 51.97 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1245, allocations: 55.95 kB / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1248, allocations: 112.8 kB / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1248, allocations: 0 / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003085/0.1251, allocations: 161.4 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1251, allocations: 4 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1251, allocations: 7.938 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1252, allocations: 4 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1253, allocations: 36.47 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1253, allocations: 0 / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.1253, allocations: 11.98 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1254, allocations: 8 kB / 477.5 MB, free: 7.852 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 0.0001024/0.1255, allocations: 126.4 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1255, allocations: 19.81 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.1259, allocations: 186.2 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1259, allocations: 3.938 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1259, allocations: 0 / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1259, allocations: 3.984 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.1265, allocations: 492 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1265, allocations: 0 / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.1266, allocations: 27.98 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1267, allocations: 12.05 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1267, allocations: 0 / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1267, allocations: 0 / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1267, allocations: 4 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.1271, allocations: 276.8 kB / 478.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.1271, allocations: 85.02 kB / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1271, allocations: 0 / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1273, allocations: 23.98 kB / 478.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1273, allocations: 7.984 kB / 478.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1273, allocations: 4 kB / 478.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1274, allocations: 155.2 kB / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1274, allocations: 0 / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1277, allocations: 27.98 kB / 478.9 MB, free: 6.309 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.001095/0.1288, allocations: 464.5 kB / 479.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.1291, allocations: 123.9 kB / 479.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1292, allocations: 3.938 kB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1293, allocations: 72.03 kB / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1297, allocations: 23.92 kB / 479.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.1302, allocations: 323.8 kB / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1305, allocations: 0.7121 MB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.1306, allocations: 16.41 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.1307, allocations: 19.44 kB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1307, allocations: 0 / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Templates: time 0.004744/0.1354, allocations: 1.429 MB / 482.1 MB, free: 3.281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches