Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.001325/0.001325, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.43/1.43, allocations: 223.2 MB / 242.3 MB, free: 216 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.2324/0.2324, allocations: 44.24 MB / 337.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 8.594 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002381/0.1398, allocations: 1.421 MB / 473.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1414, allocations: 0.8382 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1415, allocations: 4 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.1418, allocations: 31.89 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1421, allocations: 51.83 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.1425, allocations: 107.3 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1427, allocations: 87.7 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1428, allocations: 8.234 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1429, allocations: 39.8 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.143, allocations: 27.83 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1431, allocations: 8 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1432, allocations: 43.92 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.1433, allocations: 19.92 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.1434, allocations: 61.44 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1436, allocations: 107.9 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1436, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1436, allocations: 4 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1436, allocations: 3.938 kB / 475.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005857/0.1442, allocations: 391.2 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1443, allocations: 12.03 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.1443, allocations: 8.844 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1446, allocations: 211.9 kB / 475.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1446, allocations: 384 / 475.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1446, allocations: 8.125 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1448, allocations: 53.67 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1448, allocations: 0 / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1448, allocations: 0 / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1449, allocations: 0 / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1449, allocations: 23.98 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.1454, allocations: 292.8 kB / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1455, allocations: 54.67 kB / 476.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1456, allocations: 16.86 kB / 476.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1456, allocations: 3.984 kB / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1458, allocations: 79.38 kB / 476.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.516e-06/0.1458, allocations: 3.938 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005889/0.1464, allocations: 169.2 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1465, allocations: 51.41 kB / 476.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1467, allocations: 194.1 kB / 476.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1467, allocations: 25.7 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1468, allocations: 104.1 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1468, allocations: 23.66 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1469, allocations: 21.7 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.147, allocations: 326.8 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.1471, allocations: 16 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.1472, allocations: 37.7 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1473, allocations: 57.7 kB / 477.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1473, allocations: 0 / 477.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.1475, allocations: 109.4 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1475, allocations: 4 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1475, allocations: 3.984 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1475, allocations: 3.984 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.1477, allocations: 19.94 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1477, allocations: 160 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.1477, allocations: 8.125 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1477, allocations: 3.984 kB / 477.4 MB, free: 7.949 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.0001027/0.1479, allocations: 133.8 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.1479, allocations: 11.91 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.1479, allocations: 16.7 kB / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1479, allocations: 0 / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.148, allocations: 0 / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.148, allocations: 7.938 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.1484, allocations: 391.3 kB / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1485, allocations: 0 / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.1485, allocations: 8 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1485, allocations: 0 / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1485, allocations: 11.92 kB / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1485, allocations: 0 / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1485, allocations: 384 / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1488, allocations: 208.2 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.1489, allocations: 85.02 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1489, allocations: 15.92 kB / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.149, allocations: 7.938 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.149, allocations: 4 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1491, allocations: 7.984 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1492, allocations: 139.2 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1492, allocations: 0 / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1495, allocations: 27.98 kB / 478.5 MB, free: 6.785 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.00115/0.1507, allocations: 470.3 kB / 478.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1509, allocations: 51.98 kB / 479 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1509, allocations: 4.062 kB / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.1509, allocations: 31.92 kB / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1513, allocations: 31.86 kB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.1519, allocations: 250.4 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1522, allocations: 0.7043 MB / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.192e-05/0.1523, allocations: 13.19 kB / 480 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.1523, allocations: 19.42 kB / 480 MB, free: 5.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1523, allocations: 0 / 480 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Templates: time 0.004652/0.157, allocations: 1.617 MB / 481.6 MB, free: 3.742 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches