Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007867/0.0007867, allocations: 93.25 kB / 18 MB, free: 5.602 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.0008593/0.0008594, allocations: 178.5 kB / 18.91 MB, free: 4.738 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.323/1.323, allocations: 223.3 MB / 243 MB, free: 14.29 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.193/0.193, allocations: 44.24 MB / 338.3 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005142, allocations: 12 kB / 411 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1315, allocations: 61.93 MB / 472.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002355/0.1339, allocations: 1.375 MB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1354, allocations: 0.8304 MB / 475.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1356, allocations: 0 / 475.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.1359, allocations: 51.86 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1362, allocations: 59.81 kB / 475.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1366, allocations: 99.25 kB / 475.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1368, allocations: 87.7 kB / 475.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.1368, allocations: 4 kB / 475.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1369, allocations: 43.84 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1371, allocations: 47.7 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1371, allocations: 0 / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1372, allocations: 39.98 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.1373, allocations: 15.91 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.1374, allocations: 57.45 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1376, allocations: 72.11 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1376, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1376, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1376, allocations: 0 / 475.7 MB, free: 10.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000567/0.1382, allocations: 395.1 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1382, allocations: 8.031 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1383, allocations: 12.84 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1385, allocations: 204.1 kB / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1386, allocations: 384 / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1386, allocations: 12.05 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1388, allocations: 53.67 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1388, allocations: 0 / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1388, allocations: 0 / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1388, allocations: 0 / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.1389, allocations: 12 kB / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.1391, allocations: 189.5 kB / 476.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1393, allocations: 58.55 kB / 476.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.1394, allocations: 24.78 kB / 476.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1394, allocations: 4 kB / 476.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1396, allocations: 63.39 kB / 476.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.1396, allocations: 4 kB / 476.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002945/0.1399, allocations: 89.58 kB / 476.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.14, allocations: 59.34 kB / 476.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1402, allocations: 186.1 kB / 477 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1402, allocations: 29.7 kB / 477.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.1403, allocations: 96.14 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.1403, allocations: 15.8 kB / 477.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.1404, allocations: 13.72 kB / 477.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1405, allocations: 326.8 kB / 477.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.1406, allocations: 12 kB / 477.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.1407, allocations: 29.7 kB / 477.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1408, allocations: 45.7 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1408, allocations: 0 / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001919/0.141, allocations: 85.5 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.141, allocations: 8 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.141, allocations: 0 / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.141, allocations: 0 / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1412, allocations: 15.92 kB / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1412, allocations: 7.938 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.1412, allocations: 7.938 kB / 477.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1412, allocations: 4 kB / 477.7 MB, free: 8.211 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 (7): * Single equations (assignments): 7 * 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.0001356/0.1414, allocations: 125.8 kB / 477.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.1414, allocations: 11.91 kB / 477.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.1415, allocations: 12.31 kB / 477.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1415, allocations: 4 kB / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1415, allocations: 0 / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1415, allocations: 0 / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.1417, allocations: 193.5 kB / 478.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1417, allocations: 0 / 478.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.1417, allocations: 4.312 kB / 478.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1417, allocations: 0 / 478.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1417, allocations: 8 kB / 478.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1417, allocations: 0 / 478.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1417, allocations: 4 kB / 478.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1419, allocations: 112.9 kB / 478.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.142, allocations: 92.94 kB / 478.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.142, allocations: 0 / 478.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.1421, allocations: 4 kB / 478.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.1421, allocations: 3.984 kB / 478.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1421, allocations: 8 kB / 478.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1422, allocations: 143.2 kB / 478.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1423, allocations: 0 / 478.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.1425, allocations: 12 kB / 478.4 MB, free: 7.387 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009954/0.1435, allocations: 418.4 kB / 478.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.1436, allocations: 43.91 kB / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1437, allocations: 0 / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.1437, allocations: 16 kB / 478.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.144, allocations: 35.97 kB / 478.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1445, allocations: 242.7 kB / 479.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1449, allocations: 0.6965 MB / 479.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1449, allocations: 23.42 kB / 479.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1449, allocations: 0 / 479.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Templates: time 0.003824/0.1488, allocations: 1.655 MB / 481.6 MB, free: 4.367 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches