Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001094/0.001094, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.493/1.493, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.208/0.208, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003355, allocations: 12 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 61.91 MB / 472.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002196/0.1302, allocations: 1.278 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1319, allocations: 0.9999 MB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.132, allocations: 4 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1322, allocations: 11.94 kB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1324, allocations: 35.84 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1327, allocations: 103.6 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1329, allocations: 51.91 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.133, allocations: 15.98 kB / 474.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.133, allocations: 23.91 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1332, allocations: 27.8 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1332, allocations: 0 / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1334, allocations: 47.97 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1334, allocations: 11.92 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.1335, allocations: 41.58 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1337, allocations: 91.75 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1337, allocations: 0 / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1337, allocations: 0 / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1337, allocations: 0 / 475 MB, free: 10.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000491/0.1342, allocations: 371.6 kB / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1343, allocations: 11.97 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.1343, allocations: 4.938 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1345, allocations: 192.1 kB / 475.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1346, allocations: 4.375 kB / 475.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1346, allocations: 384 / 475.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1348, allocations: 67.53 kB / 475.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1348, allocations: 3.984 kB / 475.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1348, allocations: 4 kB / 475.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1348, allocations: 3.938 kB / 475.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1349, allocations: 27.98 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.1354, allocations: 288.8 kB / 475.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1356, allocations: 46.55 kB / 476 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.1357, allocations: 16.86 kB / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1357, allocations: 0 / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1357, allocations: 30.56 kB / 476 MB, free: 9.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1358, allocations: 4 kB / 476 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006125/0.1364, allocations: 165.5 kB / 476.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.1364, allocations: 81.11 kB / 476.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1366, allocations: 137.8 kB / 476.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1366, allocations: 25.7 kB / 476.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.1367, allocations: 92.12 kB / 476.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.1367, allocations: 27.58 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.1368, allocations: 13.72 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.137, allocations: 322.8 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.1371, allocations: 27.98 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.1372, allocations: 37.7 kB / 476.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1373, allocations: 60.86 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1374, allocations: 0 / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002032/0.1376, allocations: 89.66 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1376, allocations: 6.5 kB / 477.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1376, allocations: 4 kB / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1376, allocations: 0 / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.1377, allocations: 23.92 kB / 477.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1377, allocations: 0 / 477.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.1378, allocations: 4 kB / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1378, allocations: 0 / 477.1 MB, free: 8.172 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 (5): * Single equations (assignments): 5 * 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 8.592e-05/0.1379, allocations: 122.3 kB / 477.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1379, allocations: 7.906 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.1382, allocations: 105.6 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1382, allocations: 0 / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1382, allocations: 0 / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1382, allocations: 0 / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.1387, allocations: 374.3 kB / 477.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1387, allocations: 3.938 kB / 477.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.1388, allocations: 16.36 kB / 477.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1388, allocations: 0 / 477.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1388, allocations: 4 kB / 477.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1388, allocations: 7.938 kB / 477.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1389, allocations: 0 / 477.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1391, allocations: 191.5 kB / 477.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.1392, allocations: 85.28 kB / 478 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1392, allocations: 8 kB / 478 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.1393, allocations: 7.938 kB / 478 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1393, allocations: 11.97 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1393, allocations: 4 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1395, allocations: 102.1 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1395, allocations: 4 kB / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1397, allocations: 20 kB / 478.2 MB, free: 7.016 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 (5): * Single equations (assignments): 5 * 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.00117/0.1409, allocations: 444.2 kB / 478.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1411, allocations: 67.89 kB / 478.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1412, allocations: 0 / 478.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.1413, allocations: 31.98 kB / 478.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1416, allocations: 19.48 kB / 478.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.142, allocations: 176.6 kB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1424, allocations: 0.6926 MB / 479.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.286e-05/0.1424, allocations: 11.98 kB / 479.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1425, allocations: 11.44 kB / 479.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of SimCode: time 3.607e-06/0.1425, allocations: 4 kB / 479.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.004679/0.1472, allocations: 1.313 MB / 480.9 MB, free: 4.379 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches