Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 112.4 kB / 17.33 MB, free: 5.672 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.001015/0.001015, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.411/1.411, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2182/0.2182, allocations: 44.17 MB / 336.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.73 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1311, allocations: 60.83 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003608/0.1348, allocations: 1.753 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1362, allocations: 0.8731 MB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.1363, allocations: 4 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1366, allocations: 43.88 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1369, allocations: 55.83 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1371, allocations: 95.14 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1373, allocations: 103.7 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1374, allocations: 8.219 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.1375, allocations: 39.8 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.1376, allocations: 39.78 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1376, allocations: 4 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.1377, allocations: 43.98 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.1378, allocations: 31.91 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.1379, allocations: 39.69 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1381, allocations: 131.8 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1381, allocations: 0 / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1381, allocations: 4 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1381, allocations: 0 / 472 MB, free: 11.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005938/0.1387, allocations: 438.7 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1388, allocations: 8.031 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1388, allocations: 12.75 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1391, allocations: 220 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1391, allocations: 384 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1391, allocations: 8.125 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1393, allocations: 53.67 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1393, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1393, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1393, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.1394, allocations: 23.92 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1398, allocations: 304.9 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.14, allocations: 50.69 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.1401, allocations: 24.84 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1401, allocations: 0 / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1403, allocations: 71.33 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1403, allocations: 0 / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.1409, allocations: 189 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.1409, allocations: 51.41 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1412, allocations: 262.9 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1413, allocations: 33.7 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1413, allocations: 108.1 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1414, allocations: 23.7 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.1415, allocations: 29.72 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1416, allocations: 330.8 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.1417, allocations: 27.86 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1418, allocations: 33.7 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1419, allocations: 73.69 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1419, allocations: 4 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1421, allocations: 101.5 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1421, allocations: 4 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1421, allocations: 0 / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1422, allocations: 0 / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.1423, allocations: 23.92 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1423, allocations: 0 / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1423, allocations: 11.94 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1424, allocations: 0 / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000138/0.1425, allocations: 141.8 kB / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1425, allocations: 15.81 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.1426, allocations: 21.39 kB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1426, allocations: 0 / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1426, allocations: 0 / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1426, allocations: 3.938 kB / 474.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.1431, allocations: 403.3 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1431, allocations: 32 / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1432, allocations: 15.94 kB / 475 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1432, allocations: 0 / 475 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1432, allocations: 7.938 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1432, allocations: 0 / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1432, allocations: 3.984 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1435, allocations: 204.2 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.1435, allocations: 92.92 kB / 475.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1436, allocations: 3.938 kB / 475.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1436, allocations: 4 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1437, allocations: 7.984 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1437, allocations: 4.375 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.1439, allocations: 200.2 kB / 475.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1439, allocations: 0 / 475.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1442, allocations: 23.98 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00127/0.1455, allocations: 478.9 kB / 476 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1457, allocations: 67.89 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1457, allocations: 0 / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.1458, allocations: 24.06 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1461, allocations: 39.78 kB / 476.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.1467, allocations: 319.7 kB / 476.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.147, allocations: 0.7158 MB / 477.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.147, allocations: 12.88 kB / 477.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.1471, allocations: 15.44 kB / 477.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1471, allocations: 0 / 477.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004603/0.1517, allocations: 1.712 MB / 478.9 MB, free: 4.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches