Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001959, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.002009/0.002009, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.419/1.419, allocations: 222.9 MB / 243 MB, free: 15.06 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.2206/0.2206, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 70.11 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1303, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002912/0.1332, allocations: 1.552 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1348, allocations: 1.02 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.1348, allocations: 4 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.135, allocations: 15.88 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1353, allocations: 43.77 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1355, allocations: 87.7 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1357, allocations: 63.83 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.1358, allocations: 4 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.1358, allocations: 23.91 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.136, allocations: 31.86 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.136, allocations: 4 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1361, allocations: 51.91 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.1362, allocations: 15.92 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.1362, allocations: 15.88 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1364, allocations: 91.77 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1364, allocations: 0 / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1364, allocations: 0 / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1364, allocations: 0 / 473.7 MB, free: 10.6 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.0005015/0.1369, allocations: 379.3 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.137, allocations: 8.031 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.137, allocations: 8.844 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1373, allocations: 192.1 kB / 474.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1373, allocations: 4.375 kB / 474.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1373, allocations: 8.312 kB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1375, allocations: 63.53 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1375, allocations: 0 / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1375, allocations: 8 kB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1375, allocations: 0 / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.205e-05/0.1376, allocations: 23.95 kB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.138, allocations: 272.9 kB / 474.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1382, allocations: 42.66 kB / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1383, allocations: 16.84 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1383, allocations: 7.938 kB / 474.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1384, allocations: 30.56 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.1384, allocations: 0 / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005489/0.1389, allocations: 137.3 kB / 474.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.139, allocations: 81.11 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1391, allocations: 140.2 kB / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1392, allocations: 25.7 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.1392, allocations: 96.12 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1393, allocations: 23.73 kB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.1393, allocations: 17.72 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1394, allocations: 318.8 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.1395, allocations: 23.92 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.1396, allocations: 33.7 kB / 475.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1397, allocations: 48.83 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1397, allocations: 0 / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001696/0.1399, allocations: 73.58 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.1399, allocations: 8 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1399, allocations: 0 / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.14, allocations: 4.031 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.14, allocations: 15.92 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.14, allocations: 0 / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.1401, allocations: 8 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1401, allocations: 7.984 kB / 475.8 MB, free: 8.273 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 8.087e-05/0.1402, allocations: 117.8 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1402, allocations: 4.156 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.1405, allocations: 93.62 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1405, allocations: 3.938 kB / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1405, allocations: 0 / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1405, allocations: 0 / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1409, allocations: 350.4 kB / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1409, allocations: 0 / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.141, allocations: 8 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.141, allocations: 4 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.141, allocations: 4 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.141, allocations: 3.938 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.141, allocations: 3.984 kB / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1412, allocations: 175.4 kB / 476.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.1413, allocations: 77.11 kB / 476.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.1413, allocations: 4 kB / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1414, allocations: 11.92 kB / 476.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.1415, allocations: 8 kB / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1415, allocations: 0 / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.291e-05/0.1416, allocations: 107.2 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1416, allocations: 0 / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1418, allocations: 27.89 kB / 476.8 MB, free: 7.184 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.001044/0.1429, allocations: 445.9 kB / 477.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1431, allocations: 47.91 kB / 477.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1431, allocations: 0 / 477.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.1432, allocations: 23.98 kB / 477.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1436, allocations: 19.48 kB / 477.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.144, allocations: 157.5 kB / 477.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1443, allocations: 0.6885 MB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.1443, allocations: 12.23 kB / 478.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.1444, allocations: 15.42 kB / 478.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1444, allocations: 0 / 478.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of Templates: time 0.004175/0.1486, allocations: 1.355 MB / 479.5 MB, free: 4.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches