Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 101.3 kB / 16.27 MB, free: 5.93 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.001907/0.001907, allocations: 192.5 kB / 17.2 MB, free: 5.574 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.791/1.791, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2326/0.2326, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001471/0.001471, allocations: 71.3 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, allocations: 57.8 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002724/0.1244, allocations: 1.601 MB / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005781/0.125, allocations: 347.4 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.1251, allocations: 0 / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1254, allocations: 63.78 kB / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1256, allocations: 55.75 kB / 442.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1259, allocations: 151.3 kB / 442.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1261, allocations: 79.75 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1262, allocations: 23.94 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.1263, allocations: 31.89 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.1264, allocations: 43.84 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1264, allocations: 0 / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.149e-05/0.1265, allocations: 39.98 kB / 442.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.1265, allocations: 23.91 kB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.1266, allocations: 23.81 kB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1268, allocations: 91.66 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1268, allocations: 0 / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1268, allocations: 4 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1268, allocations: 0 / 443.1 MB, free: 4.316 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.0004172/0.1272, allocations: 395.1 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1272, allocations: 11.89 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1273, allocations: 8.844 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1275, allocations: 200.7 kB / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1275, allocations: 384 / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1275, allocations: 11.94 kB / 443.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1277, allocations: 69.55 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1277, allocations: 0 / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1277, allocations: 0 / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1277, allocations: 4 kB / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1279, allocations: 35.97 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1282, allocations: 316.7 kB / 444.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1283, allocations: 50.48 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.1284, allocations: 24.94 kB / 444.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1284, allocations: 4 kB / 444.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.1285, allocations: 30.56 kB / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1285, allocations: 4 kB / 444.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007024/0.1292, allocations: 225 kB / 444.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.1292, allocations: 59.34 kB / 444.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1293, allocations: 180.5 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.1294, allocations: 29.7 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1294, allocations: 100.1 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1294, allocations: 27.64 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1295, allocations: 17.72 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.1295, allocations: 322.8 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1296, allocations: 35.97 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.1297, allocations: 39.97 kB / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1299, allocations: 84.8 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1299, allocations: 0 / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002418/0.1302, allocations: 129.5 kB / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1302, allocations: 4 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1302, allocations: 4 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1302, allocations: 288 / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1303, allocations: 19.98 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1304, allocations: 3.938 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.1304, allocations: 15.98 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1304, allocations: 0 / 445.5 MB, free: 1.68 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 6.068e-05/0.1305, allocations: 129.8 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.1305, allocations: 15.8 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.1308, allocations: 142.6 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1308, allocations: 0 / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1308, allocations: 3.938 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1309, allocations: 3.938 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.1313, allocations: 418.5 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1313, allocations: 0 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.1314, allocations: 19.98 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1314, allocations: 7.938 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1314, allocations: 0 / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1314, allocations: 0 / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1314, allocations: 0 / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1317, allocations: 219.4 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.1317, allocations: 92.94 kB / 446.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1317, allocations: 4 kB / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1318, allocations: 4 kB / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1318, allocations: 15.92 kB / 446.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1318, allocations: 4 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.1319, allocations: 143.9 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1319, allocations: 0 / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1322, allocations: 20 kB / 446.7 MB, free: 360 kB / 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.0008072/0.133, allocations: 402.2 kB / 447.1 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1333, allocations: 95.94 kB / 447.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1333, allocations: 4 kB / 447.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1335, allocations: 51.89 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1338, allocations: 15.28 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.1343, allocations: 242.4 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1346, allocations: 0.709 MB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1347, allocations: 16.3 kB / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.1347, allocations: 11.44 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1347, allocations: 4 kB / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of Templates: time 0.003765/0.1385, allocations: 1.301 MB / 449.5 MB, free: 13.56 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches