Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008449, allocations: 91.12 kB / 17.35 MB, free: 6.375 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.000891/0.000891, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.444/1.444, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004424, allocations: 11.98 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002214/0.1235, allocations: 1.341 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000812/0.1243, allocations: 419.2 kB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.1244, allocations: 0 / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1246, allocations: 51.88 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1248, allocations: 43.88 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.1251, allocations: 123.7 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.1253, allocations: 67.84 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1254, allocations: 15.98 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.1254, allocations: 23.91 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1255, allocations: 51.77 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1256, allocations: 0 / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.1257, allocations: 47.97 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.1257, allocations: 19.92 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.1258, allocations: 57.45 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.126, allocations: 99.67 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.126, allocations: 0 / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.126, allocations: 0 / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.126, allocations: 0 / 474.6 MB, free: 11 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.0004659/0.1265, allocations: 405.6 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1265, allocations: 12.03 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1266, allocations: 12.83 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1268, allocations: 192.7 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1268, allocations: 4.375 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1268, allocations: 7.938 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.127, allocations: 65.67 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.127, allocations: 4 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.127, allocations: 3.938 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.127, allocations: 0 / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1272, allocations: 51.95 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.1275, allocations: 304.7 kB / 475.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1278, allocations: 62.58 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.1279, allocations: 28.97 kB / 475.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1279, allocations: 7.938 kB / 475.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1279, allocations: 34.56 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1279, allocations: 0 / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001502/0.1294, allocations: 468.8 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1295, allocations: 55.34 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1297, allocations: 182.5 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1297, allocations: 29.7 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.1298, allocations: 112 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.1298, allocations: 27.56 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.1299, allocations: 17.7 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.13, allocations: 326.8 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1302, allocations: 47.97 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1303, allocations: 55.97 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.1306, allocations: 108.8 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1306, allocations: 4 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003333/0.1309, allocations: 161.4 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1309, allocations: 8 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1309, allocations: 7.875 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.131, allocations: 4 kB / 477.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1311, allocations: 27.98 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1311, allocations: 0 / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.1312, allocations: 11.98 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1312, allocations: 7.938 kB / 477.4 MB, free: 7.973 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.028e-05/0.1313, allocations: 130.4 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1313, allocations: 11.91 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.1317, allocations: 182.2 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1317, allocations: 0 / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1317, allocations: 3.984 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1317, allocations: 4 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.1324, allocations: 488.5 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1324, allocations: 0 / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1325, allocations: 32.05 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1325, allocations: 4 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1325, allocations: 8 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1325, allocations: 0 / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1326, allocations: 0 / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.1329, allocations: 272.9 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.133, allocations: 84.92 kB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.133, allocations: 8 kB / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.1331, allocations: 15.98 kB / 478.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.1332, allocations: 15.98 kB / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1332, allocations: 0 / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1333, allocations: 145.5 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1333, allocations: 0 / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1336, allocations: 24 kB / 478.8 MB, free: 6.457 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.0009877/0.1346, allocations: 471.4 kB / 479.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.1349, allocations: 123.9 kB / 479.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1349, allocations: 7.938 kB / 479.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.1351, allocations: 64.03 kB / 479.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1354, allocations: 19.98 kB / 479.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.1359, allocations: 306.9 kB / 479.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1362, allocations: 0.7121 MB / 480.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.1363, allocations: 16.42 kB / 480.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.1363, allocations: 15.44 kB / 480.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1363, allocations: 0 / 480.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Templates: time 0.004071/0.1404, allocations: 1.429 MB / 481.9 MB, free: 3.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches