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.001389/0.001388, allocations: 108.3 kB / 17.21 MB, free: 6.289 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.001492/0.001492, allocations: 194 kB / 18.12 MB, free: 5.383 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.463/1.463, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2236/0.2236, allocations: 44.19 MB / 336.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 68.31 kB / 407.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.138, allocations: 60.83 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002983/0.141, allocations: 1.625 MB / 470.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1426, allocations: 1.008 MB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.1426, allocations: 0 / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1428, allocations: 19.94 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.143, allocations: 35.84 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1432, allocations: 78.7 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1433, allocations: 59.91 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1435, allocations: 16.19 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.1435, allocations: 31.78 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1436, allocations: 27.86 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1437, allocations: 0 / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.1438, allocations: 51.95 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.1438, allocations: 8 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1439, allocations: 31.8 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.144, allocations: 92.05 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1441, allocations: 3.984 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1441, allocations: 4 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1441, allocations: 0 / 471.6 MB, free: 11.71 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.0004623/0.1445, allocations: 383.3 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1446, allocations: 11.97 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1446, allocations: 8.844 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1448, allocations: 188.2 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1449, allocations: 8.375 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1449, allocations: 8.359 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.145, allocations: 83.25 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1451, allocations: 3.906 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1451, allocations: 8 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1451, allocations: 0 / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.1452, allocations: 31.91 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1455, allocations: 284.8 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1457, allocations: 62.55 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.1457, allocations: 20.97 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1458, allocations: 3.938 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1458, allocations: 30.56 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1458, allocations: 0 / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.1464, allocations: 185.3 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1464, allocations: 77.11 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1466, allocations: 149.7 kB / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1466, allocations: 25.7 kB / 473.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.1466, allocations: 92.14 kB / 473.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1467, allocations: 27.55 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.1467, allocations: 21.72 kB / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1468, allocations: 326.8 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.1469, allocations: 19.98 kB / 473.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.147, allocations: 37.7 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1472, allocations: 60.83 kB / 473.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1472, allocations: 0 / 473.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001986/0.1474, allocations: 105.5 kB / 473.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1474, allocations: 8 kB / 473.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1474, allocations: 0 / 473.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.1474, allocations: 3.938 kB / 473.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.1475, allocations: 15.98 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1475, allocations: 0 / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1476, allocations: 11.94 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1476, allocations: 4 kB / 473.9 MB, free: 9.203 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 9.599e-05/0.1477, allocations: 122.4 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.1477, allocations: 7.906 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.148, allocations: 110.3 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.148, allocations: 3.984 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.148, allocations: 0 / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.148, allocations: 3.938 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.1485, allocations: 390.5 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1485, allocations: 384 / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1486, allocations: 19.98 kB / 474.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1486, allocations: 3.938 kB / 474.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.1486, allocations: 4 kB / 474.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1486, allocations: 3.938 kB / 474.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1486, allocations: 0 / 474.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1489, allocations: 195.4 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.1489, allocations: 85.02 kB / 474.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.149, allocations: 11.88 kB / 474.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.149, allocations: 7.984 kB / 474.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1491, allocations: 4 kB / 474.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1491, allocations: 0 / 474.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.232e-05/0.1492, allocations: 118 kB / 474.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1492, allocations: 0 / 474.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1494, allocations: 28 kB / 475 MB, free: 8.004 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.000937/0.1504, allocations: 433 kB / 475.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1506, allocations: 67.95 kB / 475.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1506, allocations: 0 / 475.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1507, allocations: 35.92 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.151, allocations: 15.98 kB / 475.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.1514, allocations: 203.6 kB / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1517, allocations: 0.7004 MB / 476.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.1517, allocations: 12.97 kB / 476.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.1518, allocations: 19.42 kB / 476.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1518, allocations: 0 / 476.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Templates: time 0.003637/0.1554, allocations: 1.404 MB / 477.8 MB, free: 5.242 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