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.001434/0.001434, allocations: 107.1 kB / 18.39 MB, free: 4.762 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.001305/0.001305, allocations: 184.1 kB / 19.32 MB, free: 3.832 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.519/1.519, allocations: 222.9 MB / 243 MB, free: 15.15 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.2598/0.2598, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 70.02 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003148/0.1424, allocations: 1.648 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1438, allocations: 0.8651 MB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.1439, allocations: 0 / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.1442, allocations: 63.73 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1444, allocations: 63.73 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1447, allocations: 106.2 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1449, allocations: 103.7 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.1449, allocations: 8 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.145, allocations: 35.84 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.1451, allocations: 47.77 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1452, allocations: 4 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.906e-05/0.1452, allocations: 35.98 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.1453, allocations: 19.98 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.1454, allocations: 35.73 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1456, allocations: 99.58 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1456, allocations: 0 / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1456, allocations: 8 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1456, allocations: 0 / 473.8 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.0005133/0.1461, allocations: 395 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1461, allocations: 12.03 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.1462, allocations: 8.844 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1465, allocations: 204.1 kB / 474.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1465, allocations: 4.375 kB / 474.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1465, allocations: 8.125 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1466, allocations: 57.67 kB / 474.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1467, allocations: 0 / 474.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1467, allocations: 3.938 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1467, allocations: 0 / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.1467, allocations: 15.98 kB / 474.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.147, allocations: 189.5 kB / 474.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1471, allocations: 46.62 kB / 474.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.1472, allocations: 28.78 kB / 474.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1472, allocations: 4 kB / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.1474, allocations: 71.27 kB / 474.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1474, allocations: 0 / 474.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002602/0.1476, allocations: 89.58 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1477, allocations: 55.41 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1479, allocations: 190.1 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1479, allocations: 29.7 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.148, allocations: 100.1 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.148, allocations: 11.81 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.148, allocations: 17.72 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1482, allocations: 322.8 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.1482, allocations: 15.98 kB / 475.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.1483, allocations: 37.64 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.862e-05/0.1484, allocations: 41.72 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1484, allocations: 0 / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.1485, allocations: 85.45 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1486, allocations: 8 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1486, allocations: 160 / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1486, allocations: 0 / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.1487, allocations: 12.03 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1487, allocations: 3.984 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.1487, allocations: 4 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1487, allocations: 8.297 kB / 475.9 MB, free: 8.203 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.0001006/0.1488, allocations: 125.8 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.1489, allocations: 7.906 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.1489, allocations: 16.23 kB / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1489, allocations: 0 / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1489, allocations: 4 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1489, allocations: 4 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.1491, allocations: 193.5 kB / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1491, allocations: 0 / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.1491, allocations: 4 kB / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1491, allocations: 0 / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1491, allocations: 3.984 kB / 476.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1491, allocations: 4 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1491, allocations: 0 / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.1493, allocations: 113 kB / 476.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1494, allocations: 92.88 kB / 476.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1494, allocations: 4 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.392e-05/0.1494, allocations: 7.938 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1495, allocations: 7.984 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1495, allocations: 0 / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1496, allocations: 139.2 kB / 476.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1496, allocations: 0 / 476.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1498, allocations: 23.98 kB / 476.6 MB, free: 7.367 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.0008643/0.1507, allocations: 401 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.1509, allocations: 35.98 kB / 477 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1509, allocations: 0 / 477 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.1509, allocations: 27.92 kB / 477.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1512, allocations: 31.8 kB / 477.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.1515, allocations: 194.2 kB / 477.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1518, allocations: 0.708 MB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.1519, allocations: 8.547 kB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1519, allocations: 15.44 kB / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of SimCode: time 1.512e-06/0.1519, allocations: 0 / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Templates: time 0.003755/0.1557, allocations: 1.476 MB / 479.5 MB, free: 4.598 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 -s cvode -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