Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001369/0.001369, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.472/1.472, allocations: 222.9 MB / 243 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.2569/0.2569, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 68.36 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1291, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002464/0.1316, allocations: 1.572 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.1323, allocations: 435.1 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.1323, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.1327, allocations: 455.1 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.133, allocations: 243.5 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1333, allocations: 174.2 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.1335, allocations: 159.8 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1335, allocations: 12.19 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.1336, allocations: 115.6 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1338, allocations: 211.6 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1338, allocations: 4 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.293e-05/0.1339, allocations: 23.98 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.1339, allocations: 79.7 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.134, allocations: 99.05 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1342, allocations: 247 kB / 474.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1342, allocations: 0 / 474.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1342, allocations: 4 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.1342, allocations: 0 / 474.5 MB, free: 9.848 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.0005024/0.1347, allocations: 0.6297 MB / 475.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.414e-05/0.1348, allocations: 15.97 kB / 475.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.1348, allocations: 40.38 kB / 475.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1351, allocations: 300.1 kB / 475.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.1351, allocations: 4.359 kB / 475.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1351, allocations: 4.375 kB / 475.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.1352, allocations: 69.55 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-06/0.1352, allocations: 0 / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-06/0.1352, allocations: 0 / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-06/0.1352, allocations: 3.938 kB / 475.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1353, allocations: 31.97 kB / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.1357, allocations: 384.8 kB / 476 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1359, allocations: 54.48 kB / 476 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/0.136, allocations: 24.94 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.136, allocations: 0 / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.136, allocations: 34.56 kB / 476.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.136, allocations: 0 / 476.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002641/0.1363, allocations: 129.1 kB / 476.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.1363, allocations: 55.41 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.1371, allocations: 0.8457 MB / 477.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.1371, allocations: 29.7 kB / 477.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1373, allocations: 212.1 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.1373, allocations: 3.906 kB / 477.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.1374, allocations: 21.66 kB / 477.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.1376, allocations: 358.7 kB / 477.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.1376, allocations: 23.98 kB / 477.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.1377, allocations: 23.97 kB / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1378, allocations: 40.83 kB / 477.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1378, allocations: 0 / 477.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003783/0.1382, allocations: 105.1 kB / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.1382, allocations: 8 kB / 477.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1382, allocations: 3.984 kB / 477.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.535e-06/0.1383, allocations: 0 / 477.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.1383, allocations: 11.94 kB / 477.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.1383, allocations: 0 / 477.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.1384, allocations: 15.92 kB / 477.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1384, allocations: 3.938 kB / 477.9 MB, free: 6.168 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 (3): * Single equations (assignments): 3 * 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.0003609/0.1388, allocations: 209.7 kB / 478.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.1388, allocations: 43.44 kB / 478.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.1391, allocations: 133.3 kB / 478.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1391, allocations: 0 / 478.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.1391, allocations: 0 / 478.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1391, allocations: 48 / 478.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1395, allocations: 289.5 kB / 478.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1395, allocations: 0 / 478.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.1395, allocations: 15.98 kB / 478.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1395, allocations: 0 / 478.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.1395, allocations: 3.938 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1396, allocations: 4 kB / 478.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1396, allocations: 4 kB / 478.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.1399, allocations: 203 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.1401, allocations: 116.5 kB / 478.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1402, allocations: 0 / 478.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.1402, allocations: 7.984 kB / 478.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.1403, allocations: 4 kB / 478.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1403, allocations: 0 / 478.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.1415, allocations: 0.6472 MB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1415, allocations: 0 / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1418, allocations: 23.98 kB / 479.6 MB, free: 4.379 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 (3): * Single equations (assignments): 3 * 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.0009425/0.1427, allocations: 349.2 kB / 480 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1429, allocations: 43.89 kB / 480 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1429, allocations: 0 / 480 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.143, allocations: 23.98 kB / 480 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1434, allocations: 29.88 kB / 480.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1449, allocations: 0.7756 MB / 480.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009381/0.1459, allocations: 0.8259 MB / 481.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.403e-05/0.1459, allocations: 11.98 kB / 481.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.146, allocations: 11.44 kB / 481.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.146, allocations: 0 / 481.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of Templates: time 0.00518/0.1511, allocations: 1.333 MB / 483 MB, free: 1.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches