Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007937, allocations: 98.12 kB / 18.01 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.000865/0.0008651, allocations: 182.4 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.312/1.312, allocations: 223.3 MB / 242.9 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1896/0.1896, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003476, allocations: 13.22 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002245/0.1415, allocations: 1.371 MB / 474.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.143, allocations: 0.8382 MB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.1431, allocations: 0 / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.1435, allocations: 59.84 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1438, allocations: 47.83 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1441, allocations: 98.52 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1443, allocations: 99.67 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.1444, allocations: 4 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1445, allocations: 39.84 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1446, allocations: 47.77 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1447, allocations: 0 / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1448, allocations: 28 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.1448, allocations: 15.92 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.1449, allocations: 61.42 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1451, allocations: 68.12 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1451, allocations: 4 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1451, allocations: 0 / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1451, allocations: 0 / 475.7 MB, free: 10.53 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.000554/0.1457, allocations: 395.1 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1457, allocations: 8.031 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.1458, allocations: 8.844 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.146, allocations: 208.1 kB / 476.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.146, allocations: 4.312 kB / 476.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1461, allocations: 4.125 kB / 476.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1462, allocations: 57.61 kB / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1462, allocations: 0 / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1463, allocations: 0 / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1463, allocations: 0 / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.1463, allocations: 15.98 kB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.1466, allocations: 189.5 kB / 476.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1467, allocations: 58.55 kB / 476.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1468, allocations: 20.8 kB / 476.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1468, allocations: 0 / 476.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.147, allocations: 67.39 kB / 476.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.147, allocations: 0 / 476.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002921/0.1473, allocations: 97.52 kB / 476.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1474, allocations: 59.39 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1476, allocations: 186.1 kB / 477 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1476, allocations: 25.7 kB / 477.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1477, allocations: 104.1 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.1477, allocations: 11.81 kB / 477.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1477, allocations: 13.72 kB / 477.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1479, allocations: 318.8 kB / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.1479, allocations: 15.98 kB / 477.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.148, allocations: 37.7 kB / 477.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.593e-05/0.1481, allocations: 41.72 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1481, allocations: 0 / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001664/0.1483, allocations: 89.45 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1483, allocations: 4 kB / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1483, allocations: 0 / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1483, allocations: 0 / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.1484, allocations: 16.03 kB / 477.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1484, allocations: 7.875 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.1485, allocations: 4 kB / 477.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1485, allocations: 3.984 kB / 477.7 MB, free: 8.262 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.0001104/0.1486, allocations: 125.8 kB / 477.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1486, allocations: 11.89 kB / 477.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.1487, allocations: 16.3 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1487, allocations: 0 / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1487, allocations: 0 / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1487, allocations: 4 kB / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.1489, allocations: 193.5 kB / 478.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1489, allocations: 0 / 478.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.1489, allocations: 4 kB / 478.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1489, allocations: 0 / 478.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.149, allocations: 3.984 kB / 478.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.149, allocations: 4.25 kB / 478.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.149, allocations: 0 / 478.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1492, allocations: 120.9 kB / 478.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1492, allocations: 88.95 kB / 478.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1493, allocations: 4 kB / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.021e-05/0.1493, allocations: 4 kB / 478.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1494, allocations: 3.984 kB / 478.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1494, allocations: 4 kB / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.1495, allocations: 139.2 kB / 478.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1495, allocations: 0 / 478.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.1498, allocations: 20 kB / 478.5 MB, free: 7.43 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.00102/0.1508, allocations: 410.1 kB / 478.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.151, allocations: 39.92 kB / 478.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.151, allocations: 0 / 478.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.151, allocations: 19.98 kB / 478.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1513, allocations: 31.91 kB / 478.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1518, allocations: 246.8 kB / 479.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1522, allocations: 0.7004 MB / 479.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1523, allocations: 11.44 kB / 479.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1523, allocations: 0 / 479.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.003926/0.1562, allocations: 1.665 MB / 481.6 MB, free: 4.418 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches