Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 95.5 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.0009373/0.0009374, allocations: 170.7 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.452/1.452, 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.2/0.2, allocations: 44.26 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003554, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 61.93 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002062/0.1409, allocations: 1.278 MB / 473.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1424, allocations: 0.9922 MB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.1424, allocations: 4 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1426, allocations: 27.84 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1428, allocations: 27.92 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1431, allocations: 95.81 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1432, allocations: 51.84 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1433, allocations: 19.98 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.1434, allocations: 11.94 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1435, allocations: 27.84 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1436, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1437, allocations: 47.97 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.1437, allocations: 11.92 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1438, allocations: 49.45 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.144, allocations: 87.77 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.144, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.144, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.144, 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004617/0.1445, allocations: 378 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1445, allocations: 12.03 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.1445, allocations: 8.938 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.1447, allocations: 184.2 kB / 475.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1448, allocations: 4.375 kB / 475.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1448, allocations: 384 / 475.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.145, allocations: 79.45 kB / 475.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.145, allocations: 3.938 kB / 475.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.145, allocations: 0 / 475.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.145, allocations: 0 / 475.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1451, allocations: 27.98 kB / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1455, allocations: 288.8 kB / 475.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1457, allocations: 50.48 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.1458, allocations: 20.94 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1458, allocations: 0 / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1458, allocations: 34.56 kB / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1459, allocations: 0 / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005736/0.1464, allocations: 161.4 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1465, allocations: 77.11 kB / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1466, allocations: 139.8 kB / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1467, allocations: 25.7 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.1467, allocations: 96.12 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.1468, allocations: 15.66 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.1468, allocations: 9.719 kB / 476.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1469, allocations: 326.8 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.147, allocations: 27.98 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/0.1471, allocations: 37.7 kB / 476.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1472, allocations: 68.78 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1472, allocations: 0 / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.1474, allocations: 85.67 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1475, allocations: 6.5 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1475, allocations: 0 / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1475, allocations: 4 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.1476, allocations: 15.98 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1476, allocations: 4 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.1476, allocations: 4 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1476, allocations: 8.234 kB / 477.1 MB, free: 8.211 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.94e-05/0.1478, allocations: 126.2 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1478, allocations: 7.906 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.148, allocations: 105.6 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1481, allocations: 4 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1481, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1481, allocations: 7.922 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.1485, allocations: 374.3 kB / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1485, allocations: 0 / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.1486, allocations: 8 kB / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1486, allocations: 4 kB / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1486, allocations: 0 / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1486, allocations: 7.922 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1486, allocations: 0 / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1489, allocations: 183.5 kB / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.1489, allocations: 89 kB / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1489, allocations: 0 / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.149, allocations: 11.94 kB / 478 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1491, allocations: 11.92 kB / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1491, allocations: 4 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.1492, allocations: 99.77 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1492, allocations: 0 / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1494, allocations: 27.98 kB / 478.2 MB, free: 7.055 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 (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.0009668/0.1504, allocations: 448.6 kB / 478.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1506, allocations: 59.97 kB / 478.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1506, allocations: 0 / 478.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.1507, allocations: 35.92 kB / 478.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.151, allocations: 18.17 kB / 478.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.1514, allocations: 176.6 kB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1516, allocations: 0.6926 MB / 479.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.1517, allocations: 12.23 kB / 479.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1517, allocations: 23.36 kB / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1517, allocations: 0 / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of Templates: time 0.003876/0.1556, allocations: 1.31 MB / 480.9 MB, free: 4.414 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches