Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009905, allocations: 94.55 kB / 17.35 MB, free: 6.344 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.001179/0.001179, allocations: 168.6 kB / 18.25 MB, free: 5.508 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.415/1.415, allocations: 223.3 MB / 242.3 MB, free: 212 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.2449/0.2449, allocations: 44.24 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 16 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 61.92 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002141/0.1373, allocations: 1.294 MB / 473.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1388, allocations: 0.9843 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.1388, allocations: 8 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1391, allocations: 19.86 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1392, allocations: 39.84 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1395, allocations: 75.84 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.1396, allocations: 55.89 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1398, allocations: 28.11 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.1398, allocations: 19.86 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.14, allocations: 19.92 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.14, allocations: 3.938 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1401, allocations: 51.97 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.1402, allocations: 7.984 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1402, allocations: 49.52 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1404, allocations: 92.03 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1404, allocations: 3.938 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1404, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1404, allocations: 0 / 475 MB, free: 10.61 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004736/0.1409, allocations: 379.3 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1409, allocations: 15.97 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.141, allocations: 8.844 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1412, allocations: 196.2 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1412, allocations: 384 / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1412, allocations: 4.375 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1414, allocations: 87.25 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1414, allocations: 0 / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1415, allocations: 4 kB / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1415, allocations: 0 / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.1416, allocations: 35.97 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.142, allocations: 296.7 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1421, allocations: 54.48 kB / 476 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.1422, allocations: 20.98 kB / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1422, allocations: 0 / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1422, allocations: 34.56 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1422, allocations: 4 kB / 476.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006417/0.1429, allocations: 189.4 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.143, allocations: 81.11 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1431, allocations: 148.7 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1431, allocations: 29.7 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.1432, allocations: 96.03 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1432, allocations: 23.66 kB / 476.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.1433, allocations: 17.7 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1434, allocations: 314.8 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.1435, allocations: 31.98 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.1436, allocations: 41.69 kB / 477.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1438, allocations: 81.02 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1438, allocations: 0 / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002131/0.144, allocations: 105.6 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.144, allocations: 6.188 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.144, allocations: 0 / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.144, allocations: 0 / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1442, allocations: 24.36 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1442, allocations: 4 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.1442, allocations: 19.86 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1442, allocations: 0 / 477.3 MB, free: 8.062 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.0001064/0.1444, allocations: 126.3 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1444, allocations: 7.906 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.1447, allocations: 118 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1447, allocations: 4 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.1447, allocations: 0 / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1447, allocations: 3.938 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.1452, allocations: 398.3 kB / 477.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1452, allocations: 3.984 kB / 477.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.1453, allocations: 16 kB / 478 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1453, allocations: 3.938 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1453, allocations: 4 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1454, allocations: 3.984 kB / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1454, allocations: 0 / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.1456, allocations: 203.6 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.1457, allocations: 85 kB / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1457, allocations: 7.938 kB / 478.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.1458, allocations: 15.98 kB / 478.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.1459, allocations: 4 kB / 478.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1459, allocations: 0 / 478.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.177e-05/0.146, allocations: 115.2 kB / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.146, allocations: 0 / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1462, allocations: 24 kB / 478.4 MB, free: 6.836 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.00116/0.1474, allocations: 452.5 kB / 478.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1477, allocations: 75.89 kB / 478.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1477, allocations: 0 / 478.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.1478, allocations: 35.98 kB / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1481, allocations: 22.17 kB / 479 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.1485, allocations: 209 kB / 479.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1489, allocations: 0.6965 MB / 479.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.728e-05/0.1489, allocations: 16.95 kB / 479.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.149, allocations: 15.44 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.149, allocations: 0 / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.004029/0.153, allocations: 1.382 MB / 481.3 MB, free: 4.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches