Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.0007713, allocations: 92.48 kB / 18 MB, free: 5.734 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.0007995/0.0007996, allocations: 178.7 kB / 18.91 MB, free: 4.871 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.356/1.356, allocations: 223.3 MB / 243 MB, free: 200 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.1882/0.1882, allocations: 44.24 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004665, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002085/0.1223, allocations: 1.421 MB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1237, allocations: 0.8382 MB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.1238, allocations: 4 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1241, allocations: 79.81 kB / 475.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1243, allocations: 63.8 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1247, allocations: 103.6 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1249, allocations: 103.7 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.125, allocations: 8.234 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1251, allocations: 43.78 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1252, allocations: 55.81 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1252, allocations: 0 / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1253, allocations: 43.92 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1254, allocations: 23.91 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.1255, allocations: 61.44 kB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1256, allocations: 88.09 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1256, allocations: 0 / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1256, allocations: 0 / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1257, allocations: 3.938 kB / 475.8 MB, free: 10.39 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.0005239/0.1262, allocations: 407.1 kB / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1262, allocations: 12.03 kB / 476.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1263, allocations: 12.84 kB / 476.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1265, allocations: 211.9 kB / 476.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1266, allocations: 4.375 kB / 476.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.1266, allocations: 16.05 kB / 476.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1267, allocations: 53.67 kB / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1268, allocations: 0 / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1268, allocations: 0 / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1268, allocations: 0 / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.1269, allocations: 23.98 kB / 476.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.1273, allocations: 292.9 kB / 476.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1274, allocations: 62.61 kB / 476.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.1275, allocations: 16.86 kB / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1275, allocations: 0 / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.1277, allocations: 75.38 kB / 477 MB, free: 9.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1277, allocations: 0 / 477 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000537/0.1283, allocations: 169.2 kB / 477.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1283, allocations: 51.41 kB / 477.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1285, allocations: 215.2 kB / 477.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1285, allocations: 37.64 kB / 477.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.1286, allocations: 112 kB / 477.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1286, allocations: 27.66 kB / 477.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.1287, allocations: 17.7 kB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1288, allocations: 330.8 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.1289, allocations: 12 kB / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.1289, allocations: 37.7 kB / 478 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1291, allocations: 61.69 kB / 478.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1291, allocations: 0 / 478.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1293, allocations: 105.6 kB / 478.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1293, allocations: 4 kB / 478.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1293, allocations: 3.984 kB / 478.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1293, allocations: 4 kB / 478.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.1294, allocations: 12 kB / 478.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1294, allocations: 3.938 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.1295, allocations: 11.94 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1295, allocations: 0 / 478.2 MB, free: 7.801 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.0001009/0.1296, allocations: 133.9 kB / 478.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1296, allocations: 15.81 kB / 478.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.1297, allocations: 17.39 kB / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1297, allocations: 0 / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1297, allocations: 192 / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1297, allocations: 7.938 kB / 478.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1301, allocations: 395.3 kB / 478.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1302, allocations: 4.031 kB / 478.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.1302, allocations: 11.98 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1302, allocations: 0 / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1302, allocations: 3.938 kB / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1302, allocations: 4.375 kB / 478.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1302, allocations: 0 / 478.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1305, allocations: 204.1 kB / 479 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.1305, allocations: 97 kB / 479.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1306, allocations: 7.938 kB / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.1306, allocations: 4 kB / 479.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1307, allocations: 7.984 kB / 479.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1307, allocations: 4 kB / 479.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1308, allocations: 163.2 kB / 479.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1308, allocations: 0 / 479.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1311, allocations: 16 kB / 479.3 MB, free: 6.621 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.001071/0.1322, allocations: 476 kB / 479.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1324, allocations: 51.92 kB / 479.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1324, allocations: 0 / 479.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.1325, allocations: 43.97 kB / 479.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1328, allocations: 23.98 kB / 479.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1333, allocations: 304.1 kB / 480.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1336, allocations: 0.7121 MB / 480.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.1336, allocations: 11.44 kB / 480.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1337, allocations: 4 kB / 480.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Templates: time 0.003856/0.1375, allocations: 1.927 MB / 482.8 MB, free: 3.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches