Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002085/0.002085, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.39/1.39, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2271/0.2271, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 61.53 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004033/0.1363, allocations: 1.7 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1382, allocations: 0.8847 MB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1383, allocations: 0 / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.1387, allocations: 51.77 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1391, allocations: 47.75 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1395, allocations: 115.6 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1397, allocations: 95.7 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1399, allocations: 12.23 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.14, allocations: 43.78 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.1401, allocations: 27.84 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1401, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1403, allocations: 39.98 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.1404, allocations: 27.84 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.1404, allocations: 39.69 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1407, allocations: 123.8 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1407, allocations: 0 / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1407, allocations: 0 / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1407, allocations: 4 kB / 472.5 MB, free: 11.14 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.0006499/0.1414, allocations: 414.9 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1414, allocations: 8.031 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.1415, allocations: 16.75 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1418, allocations: 216 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1418, allocations: 4.312 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1419, allocations: 8.125 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1421, allocations: 53.67 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1421, allocations: 4 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1421, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1421, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.1422, allocations: 19.98 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1426, allocations: 300.7 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1428, allocations: 54.62 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.1428, allocations: 24.84 kB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1429, allocations: 0 / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1431, allocations: 67.39 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1431, allocations: 0 / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.1437, allocations: 177.5 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1438, allocations: 51.41 kB / 473.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.144, allocations: 230.7 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.144, allocations: 25.7 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.1441, allocations: 108 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1441, allocations: 23.66 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.1442, allocations: 29.7 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1443, allocations: 326.8 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.1444, allocations: 23.94 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.1445, allocations: 37.7 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1446, allocations: 65.83 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1446, allocations: 0 / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1448, allocations: 101.5 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1448, allocations: 8 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1449, allocations: 192 / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1449, allocations: 0 / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.145, allocations: 19.97 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.145, allocations: 4 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.145, allocations: 7.922 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1451, allocations: 11.94 kB / 474.9 MB, free: 8.512 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.0001128/0.1452, allocations: 134.1 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1452, allocations: 15.75 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1453, allocations: 17.41 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1453, allocations: 0 / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1453, allocations: 0 / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1453, allocations: 7.938 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.1458, allocations: 403.3 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1458, allocations: 0 / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1458, allocations: 8 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1458, allocations: 0 / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1458, allocations: 3.938 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1458, allocations: 4 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1459, allocations: 0 / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1461, allocations: 216.1 kB / 475.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.1461, allocations: 85.02 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1462, allocations: 3.938 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1463, allocations: 4 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.1463, allocations: 11.98 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1463, allocations: 0 / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1465, allocations: 175.2 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1465, allocations: 0 / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1468, allocations: 27.98 kB / 475.9 MB, free: 7.316 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.001106/0.1479, allocations: 465.8 kB / 476.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1481, allocations: 63.91 kB / 476.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1481, allocations: 0 / 476.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.1482, allocations: 28.08 kB / 476.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1485, allocations: 28.12 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.149, allocations: 270.9 kB / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1493, allocations: 0.708 MB / 477.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.1493, allocations: 12.89 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.1494, allocations: 23.42 kB / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1494, allocations: 0 / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of Templates: time 0.004676/0.1541, allocations: 1.714 MB / 479.2 MB, free: 4.16 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches