Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 94.72 kB / 17.35 MB, free: 6.375 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.000851/0.000851, allocations: 172.7 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.374/1.374, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2173/0.2173, allocations: 44.26 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 9.75 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002342/0.1391, allocations: 1.321 MB / 473.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.14, allocations: 407.2 kB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.1402, allocations: 8 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.1405, allocations: 91.8 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1407, allocations: 59.86 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.141, allocations: 75.84 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1412, allocations: 87.81 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1414, allocations: 23.97 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.1415, allocations: 31.86 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1416, allocations: 51.81 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1416, allocations: 0 / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1418, allocations: 43.98 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1419, allocations: 31.8 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.1419, allocations: 65.42 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1421, allocations: 115.8 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1422, allocations: 0 / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1422, allocations: 4 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1422, allocations: 0 / 474.7 MB, free: 10.93 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005307/0.1427, allocations: 403.1 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1428, allocations: 8.031 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1428, allocations: 12.84 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1431, allocations: 208 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1431, allocations: 12.25 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.1431, allocations: 4.375 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1433, allocations: 69.8 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1433, allocations: 4 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1434, allocations: 3.938 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1434, allocations: 0 / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1435, allocations: 51.95 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.144, allocations: 328.6 kB / 475.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1441, allocations: 66.55 kB / 475.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.1442, allocations: 28.84 kB / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1442, allocations: 0 / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1443, allocations: 30.56 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1443, allocations: 4 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001085/0.1454, allocations: 345.5 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1454, allocations: 55.39 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1456, allocations: 231.2 kB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1457, allocations: 25.7 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.1457, allocations: 116 kB / 476.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.1458, allocations: 47.36 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.1458, allocations: 13.7 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.146, allocations: 330.8 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.1461, allocations: 35.98 kB / 477 MB, free: 8.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/0.1462, allocations: 46.84 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1464, allocations: 100.8 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1464, allocations: 0 / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002669/0.1467, allocations: 145.4 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1467, allocations: 4 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1467, allocations: 0 / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1467, allocations: 3.938 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.1469, allocations: 31.98 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1469, allocations: 0 / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.147, allocations: 15.98 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.147, allocations: 0 / 477.4 MB, free: 7.984 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 (13): * Single equations (assignments): 13 * 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.000108/0.1471, allocations: 137.8 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1472, allocations: 7.906 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.1476, allocations: 178.3 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1476, allocations: 3.938 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1476, allocations: 4 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1476, allocations: 0 / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1483, allocations: 491 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1483, allocations: 0 / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.1484, allocations: 27.98 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1484, allocations: 32 / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1484, allocations: 12 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1484, allocations: 0 / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1484, allocations: 0 / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.1488, allocations: 260 kB / 478.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1488, allocations: 92.92 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1488, allocations: 0 / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.1489, allocations: 11.98 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.149, allocations: 11.98 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.149, allocations: 0 / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1491, allocations: 171.2 kB / 478.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 478.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1494, allocations: 31.98 kB / 478.8 MB, free: 6.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001024/0.1504, allocations: 450.4 kB / 479.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1507, allocations: 107.9 kB / 479.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1507, allocations: 0 / 479.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1509, allocations: 55.92 kB / 479.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1512, allocations: 23.92 kB / 479.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.152, allocations: 342.9 kB / 479.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1523, allocations: 0.72 MB / 480.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.1524, allocations: 20.53 kB / 480.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.1524, allocations: 19.44 kB / 480.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1524, allocations: 0 / 480.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of Templates: time 0.004573/0.157, allocations: 1.443 MB / 481.9 MB, free: 3.438 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches