Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008699, allocations: 91.17 kB / 17.35 MB, free: 6.031 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.0009483/0.0009482, allocations: 174.5 kB / 18.26 MB, free: 5.391 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.417/1.417, allocations: 223.3 MB / 242.3 MB, free: 14.37 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.2304/0.2304, allocations: 44.24 MB / 337.7 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 16 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 61.93 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002234/0.1322, allocations: 1.409 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1336, allocations: 0.8499 MB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.1337, allocations: 0 / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.134, allocations: 47.81 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1342, allocations: 51.81 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1345, allocations: 99.77 kB / 474.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1346, allocations: 91.7 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.1348, allocations: 8.219 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.1348, allocations: 43.78 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.1349, allocations: 23.86 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.135, allocations: 4 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.1351, allocations: 47.91 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1351, allocations: 23.92 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1352, allocations: 61.44 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1354, allocations: 119.8 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1354, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1354, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1354, allocations: 0 / 475.1 MB, free: 10.41 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.0005197/0.1359, allocations: 403.1 kB / 475.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.136, allocations: 8.031 kB / 475.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.136, allocations: 8.844 kB / 475.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1363, allocations: 232.4 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1363, allocations: 4.312 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1363, allocations: 4.125 kB / 475.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1365, allocations: 57.67 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1365, allocations: 0 / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1365, allocations: 3.984 kB / 475.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1365, allocations: 0 / 475.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.1366, allocations: 16 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.137, allocations: 304.8 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1372, allocations: 46.69 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.1373, allocations: 24.84 kB / 476.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1373, allocations: 0 / 476.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.1375, allocations: 75.33 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1375, allocations: 0 / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.1381, allocations: 185.3 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1381, allocations: 55.34 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1384, allocations: 222.7 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1384, allocations: 29.7 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.1385, allocations: 104.1 kB / 476.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.1385, allocations: 23.66 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.1385, allocations: 25.7 kB / 476.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1387, allocations: 326.8 kB / 477.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.1387, allocations: 16 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.1388, allocations: 41.64 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1389, allocations: 57.7 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1389, allocations: 3.938 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.1392, allocations: 105.5 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1392, allocations: 4 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1392, allocations: 0 / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1392, allocations: 4 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.1393, allocations: 15.94 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1393, allocations: 0 / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.1394, allocations: 15.92 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1394, allocations: 0 / 477.5 MB, free: 7.789 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.0001163/0.1395, allocations: 137.9 kB / 477.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1395, allocations: 15.8 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.1396, allocations: 17.41 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1396, allocations: 3.938 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1396, allocations: 0 / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1396, allocations: 3.938 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.1401, allocations: 395.3 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1401, allocations: 4 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1401, allocations: 8.031 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1402, allocations: 4 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1402, allocations: 3.938 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1402, allocations: 0 / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1402, allocations: 4 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1404, allocations: 212.1 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.1405, allocations: 85.02 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1405, allocations: 11.94 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.1406, allocations: 7.984 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1406, allocations: 4 kB / 478.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1406, allocations: 0 / 478.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1408, allocations: 176.3 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1408, allocations: 0 / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1411, allocations: 20 kB / 478.6 MB, free: 6.594 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.001092/0.1422, allocations: 483.2 kB / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1424, allocations: 55.97 kB / 479.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1424, allocations: 0 / 479.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.1424, allocations: 35.98 kB / 479.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1428, allocations: 31.44 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.1433, allocations: 290.3 kB / 479.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1436, allocations: 0.7121 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.1437, allocations: 12.89 kB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.1437, allocations: 19.42 kB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1437, allocations: 0 / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Templates: time 0.004837/0.1486, allocations: 1.627 MB / 481.8 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches