Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001459/0.001459, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.1975/0.1975, allocations: 44.17 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.75 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 60.81 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003779/0.1425, allocations: 1.552 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.1435, allocations: 399.2 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.1436, allocations: 4 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1438, allocations: 23.84 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1441, allocations: 35.86 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.1444, allocations: 90.44 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1446, allocations: 55.84 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1447, allocations: 8 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.1448, allocations: 23.91 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.1449, allocations: 23.86 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1449, allocations: 0 / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.145, allocations: 35.94 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.1451, allocations: 15.92 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1451, allocations: 19.86 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1453, allocations: 71.8 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1454, allocations: 0 / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1454, allocations: 0 / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1454, allocations: 0 / 471.6 MB, free: 12.01 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.0006711/0.1461, allocations: 387.4 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1461, allocations: 8.031 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.1462, allocations: 12.84 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1464, allocations: 184.3 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1464, allocations: 4.375 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1465, allocations: 12.31 kB / 472.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1466, allocations: 45.81 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1466, allocations: 4 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1467, allocations: 0 / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1467, allocations: 3.938 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.856e-05/0.1468, allocations: 23.97 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.1472, allocations: 280.8 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.1474, allocations: 46.5 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1475, allocations: 16.94 kB / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1475, allocations: 4 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1475, allocations: 34.56 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1475, allocations: 0 / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005666/0.1481, allocations: 133.6 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1482, allocations: 55.41 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.1484, allocations: 160.4 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1484, allocations: 25.7 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.1485, allocations: 96.14 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1485, allocations: 15.8 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.1486, allocations: 17.72 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.1488, allocations: 322.8 kB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.1489, allocations: 23.92 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.149, allocations: 15.98 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1491, allocations: 52.77 kB / 473.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1491, allocations: 0 / 473.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001768/0.1493, allocations: 81.58 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1493, allocations: 4 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1493, allocations: 0 / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1493, allocations: 3.984 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.1494, allocations: 15.98 kB / 473.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1494, allocations: 0 / 473.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.1495, allocations: 4 kB / 473.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1495, allocations: 8.188 kB / 473.7 MB, free: 9.727 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 0.0002018/0.1497, allocations: 121.7 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1497, allocations: 11.89 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.15, allocations: 97.95 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.15, allocations: 0 / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.15, allocations: 0 / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.15, allocations: 0 / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1504, allocations: 346.5 kB / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1504, allocations: 0 / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.1505, allocations: 15.98 kB / 474.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1505, allocations: 0 / 474.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1505, allocations: 4 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1505, allocations: 3.938 kB / 474.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1505, allocations: 0 / 474.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.1508, allocations: 175.4 kB / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.1509, allocations: 92.94 kB / 474.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1509, allocations: 0 / 474.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.151, allocations: 11.88 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.151, allocations: 3.984 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.151, allocations: 4 kB / 474.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.1511, allocations: 121.1 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1511, allocations: 0 / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1514, allocations: 19.98 kB / 474.7 MB, free: 8.613 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.001002/0.1524, allocations: 409.2 kB / 475.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1526, allocations: 39.97 kB / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1526, allocations: 4 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.1527, allocations: 27.92 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1531, allocations: 19.92 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.1535, allocations: 173.4 kB / 475.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1539, allocations: 0.7001 MB / 476 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.154, allocations: 7.984 kB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.154, allocations: 11.44 kB / 476 MB, free: 7.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.154, allocations: 0 / 476 MB, free: 7.332 MB / 350.1 MB Notification: Performance of Templates: time 0.003969/0.158, allocations: 1.095 MB / 477.1 MB, free: 6.246 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches