Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 93.69 kB / 17.35 MB, free: 6.371 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.0009294/0.0009293, allocations: 173.3 kB / 18.25 MB, free: 5.527 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.47/1.47, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.2191/0.2191, allocations: 44.24 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 9.219 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002705/0.1275, allocations: 1.294 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1296, allocations: 0.9883 MB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.1297, allocations: 7.875 kB / 474.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.1299, allocations: 27.91 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.1301, allocations: 31.91 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1305, allocations: 103.3 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1308, allocations: 55.84 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1309, allocations: 28.17 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.131, allocations: 19.86 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1312, allocations: 31.84 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1312, allocations: 0 / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.1314, allocations: 55.91 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.1314, allocations: 7.984 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.1315, allocations: 53.45 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1318, allocations: 92.03 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1318, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1318, allocations: 4 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1318, allocations: 4 kB / 475.1 MB, free: 10.5 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.0006545/0.1325, allocations: 383.2 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1326, allocations: 8.031 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.1326, allocations: 8.844 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1329, allocations: 184.3 kB / 475.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.133, allocations: 4.375 kB / 475.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.133, allocations: 384 / 475.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.1333, allocations: 95.25 kB / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1333, allocations: 0 / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1333, allocations: 0 / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1333, allocations: 0 / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1335, allocations: 39.97 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.1342, allocations: 320.6 kB / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1343, allocations: 50.56 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.1345, allocations: 25.06 kB / 476.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.1345, allocations: 3.938 kB / 476.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.1346, allocations: 46.55 kB / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.1346, allocations: 0 / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000949/0.1355, allocations: 209.2 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.1356, allocations: 77.11 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1358, allocations: 149.8 kB / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1359, allocations: 25.7 kB / 476.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.1359, allocations: 100.1 kB / 476.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.136, allocations: 23.61 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.136, allocations: 17.66 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1362, allocations: 326.8 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1364, allocations: 31.97 kB / 477.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1365, allocations: 41.7 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1368, allocations: 84.84 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1368, allocations: 3.938 kB / 477.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003552/0.1372, allocations: 117.5 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1372, allocations: 4 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1372, allocations: 4 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1373, allocations: 0 / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1374, allocations: 19.98 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1375, allocations: 3.938 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.1375, allocations: 12 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1376, allocations: 3.984 kB / 477.4 MB, free: 7.879 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 (8): * Single equations (assignments): 8 * 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.0001319/0.1377, allocations: 114.4 kB / 477.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.1378, allocations: 11.91 kB / 477.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.1382, allocations: 138.2 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1382, allocations: 4.375 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.1382, allocations: 7.922 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1383, allocations: 0 / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.139, allocations: 410.5 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.139, allocations: 0 / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.1391, allocations: 19.98 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.1392, allocations: 3.938 kB / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1392, allocations: 0 / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1392, allocations: 8 kB / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1392, allocations: 0 / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.1396, allocations: 207.4 kB / 478.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1397, allocations: 100.9 kB / 478.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1397, allocations: 4 kB / 478.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1399, allocations: 8 kB / 478.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.1399, allocations: 7.984 kB / 478.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1399, allocations: 4 kB / 478.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1401, allocations: 107.2 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.735e-06/0.1401, allocations: 0 / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.1405, allocations: 31.94 kB / 478.6 MB, free: 6.609 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 (8): * Single equations (assignments): 8 * 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.001422/0.142, allocations: 439.5 kB / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.1423, allocations: 87.89 kB / 479.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1423, allocations: 0 / 479.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1425, allocations: 47.91 kB / 479.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1429, allocations: 15.98 kB / 479.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.1435, allocations: 221 kB / 479.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1439, allocations: 0.7043 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.1441, allocations: 20.95 kB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.1441, allocations: 15.44 kB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1441, allocations: 0 / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of Templates: time 0.005738/0.1499, allocations: 1.418 MB / 481.5 MB, free: 3.781 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches