Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 96.8 kB / 16.98 MB, free: 5.938 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.0009141/0.0009141, allocations: 189.6 kB / 17.88 MB, free: 5.594 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.441/1.441, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2251/0.2251, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001741/0.1376, allocations: 1.255 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005902/0.1382, allocations: 359.6 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.1382, allocations: 0 / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1384, allocations: 19.86 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1386, allocations: 31.91 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1388, allocations: 75.28 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1389, allocations: 35.89 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.139, allocations: 20 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.139, allocations: 19.91 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.1391, allocations: 11.94 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1391, allocations: 0 / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.1392, allocations: 23.92 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.1392, allocations: 11.98 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.1393, allocations: 33.64 kB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1394, allocations: 51.86 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1394, allocations: 4 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1394, allocations: 0 / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1394, allocations: 4 kB / 473.4 MB, free: 11.77 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.0004303/0.1398, allocations: 383.3 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1399, allocations: 8.562 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.1399, allocations: 7.906 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1401, allocations: 183 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1401, allocations: 7.891 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1402, allocations: 4 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1403, allocations: 49.69 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1403, allocations: 0 / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1403, allocations: 4 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1403, allocations: 0 / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.1404, allocations: 23.98 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1407, allocations: 280.9 kB / 474.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.141, allocations: 50.5 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.141, allocations: 0 / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.141, allocations: 30.56 kB / 474.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.141, allocations: 0 / 474.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005249/0.1415, allocations: 161.3 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1416, allocations: 59.33 kB / 474.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1417, allocations: 172 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1418, allocations: 29.7 kB / 474.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.1418, allocations: 92.14 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1419, allocations: 23.72 kB / 474.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1419, allocations: 4 kB / 474.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.142, allocations: 314.8 kB / 475.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.1421, allocations: 27.92 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.1421, allocations: 19.98 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.1422, allocations: 27.98 kB / 475.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1422, allocations: 0 / 475.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001669/0.1424, allocations: 85.52 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1424, allocations: 12 kB / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1424, allocations: 0 / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1424, allocations: 3.984 kB / 475.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.1425, allocations: 12 kB / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1425, allocations: 0 / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.1426, allocations: 7.984 kB / 475.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1426, allocations: 7.953 kB / 475.4 MB, free: 9.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/0.1427, allocations: 117.8 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1427, allocations: 11.91 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.1429, allocations: 97.91 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1429, allocations: 0 / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1429, allocations: 0 / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.143, allocations: 3.984 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.1434, allocations: 354.5 kB / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1434, allocations: 3.938 kB / 476 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.1434, allocations: 16.36 kB / 476 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1434, allocations: 288 / 476 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1434, allocations: 8 kB / 476 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1435, allocations: 4 kB / 476 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1435, allocations: 0 / 476 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1437, allocations: 187.4 kB / 476.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1437, allocations: 89 kB / 476.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1438, allocations: 8 kB / 476.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.1438, allocations: 7.938 kB / 476.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1439, allocations: 3.984 kB / 476.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1439, allocations: 4 kB / 476.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.713e-05/0.144, allocations: 130.1 kB / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.144, allocations: 0 / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1442, allocations: 23.84 kB / 476.5 MB, free: 8.352 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008493/0.1451, allocations: 405.7 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1453, allocations: 47.97 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1453, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.1454, allocations: 31.98 kB / 477 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1456, allocations: 22.27 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.146, allocations: 197.3 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1462, allocations: 0.7004 MB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.1463, allocations: 11.97 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.1463, allocations: 11.44 kB / 477.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1463, allocations: 0 / 477.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of Templates: time 0.003135/0.1495, allocations: 1.004 MB / 478.9 MB, free: 6.031 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches