Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 113.4 kB / 17.86 MB, free: 5.625 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.001022/0.001022, allocations: 201.9 kB / 18.77 MB, free: 4.711 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.366/1.366, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.2032/0.2032, allocations: 44.17 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 69.3 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003621/0.1321, allocations: 1.76 MB / 470.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1337, allocations: 0.8653 MB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1338, allocations: 0 / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1341, allocations: 23.91 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1344, allocations: 51.83 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1348, allocations: 99.75 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1349, allocations: 87.7 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1351, allocations: 20.2 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.1352, allocations: 35.8 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.959e-05/0.1353, allocations: 27.84 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1353, allocations: 4 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1354, allocations: 47.92 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.1355, allocations: 19.91 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.1355, allocations: 31.75 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1357, allocations: 80.11 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1357, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1357, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1358, allocations: 0 / 472.3 MB, free: 11.68 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.0005721/0.1363, allocations: 399.1 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1364, allocations: 12.02 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.1364, allocations: 8.844 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1367, allocations: 213.9 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1367, allocations: 4.312 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1367, allocations: 8.125 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1369, allocations: 57.61 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1369, allocations: 3.984 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.137, allocations: 0 / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.137, allocations: 4 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.1371, allocations: 15.98 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1375, allocations: 292.8 kB / 473.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1377, allocations: 58.62 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.1378, allocations: 20.84 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1378, allocations: 4 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.138, allocations: 67.39 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1381, allocations: 0 / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005895/0.1386, allocations: 177.4 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1387, allocations: 51.41 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1389, allocations: 173.9 kB / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1389, allocations: 29.7 kB / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.139, allocations: 100.1 kB / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.139, allocations: 23.66 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.1391, allocations: 33.7 kB / 474 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1392, allocations: 326.8 kB / 474.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.1393, allocations: 16 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.1393, allocations: 37.83 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1395, allocations: 57.7 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1395, allocations: 4 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002219/0.1397, allocations: 109.4 kB / 474.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1397, allocations: 4 kB / 474.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1397, allocations: 0 / 474.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1398, allocations: 0 / 474.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.1398, allocations: 19.94 kB / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1399, allocations: 0 / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1399, allocations: 7.922 kB / 474.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1399, allocations: 4 kB / 474.6 MB, free: 9.156 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.0001084/0.14, allocations: 125.9 kB / 474.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.1401, allocations: 7.906 kB / 474.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.1401, allocations: 16.7 kB / 474.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1401, allocations: 7.938 kB / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1401, allocations: 0 / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1402, allocations: 4.125 kB / 474.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.1406, allocations: 387.3 kB / 475.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1406, allocations: 7.969 kB / 475.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1407, allocations: 11.98 kB / 475.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1407, allocations: 4 kB / 475.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1407, allocations: 7.922 kB / 475.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1407, allocations: 0 / 475.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1407, allocations: 0 / 475.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1409, allocations: 208.4 kB / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.141, allocations: 89.02 kB / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.141, allocations: 3.938 kB / 475.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.1411, allocations: 4 kB / 475.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1412, allocations: 7.984 kB / 475.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1412, allocations: 8 kB / 475.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1413, allocations: 131.1 kB / 475.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1413, allocations: 0 / 475.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1416, allocations: 23.98 kB / 475.7 MB, free: 8.012 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.001114/0.1427, allocations: 469.8 kB / 476.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1429, allocations: 59.91 kB / 476.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1429, allocations: 0 / 476.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.143, allocations: 32 kB / 476.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1433, allocations: 30.31 kB / 476.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.1438, allocations: 258.3 kB / 476.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1441, allocations: 0.7043 MB / 477.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1442, allocations: 19.42 kB / 477.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1442, allocations: 3.938 kB / 477.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of Templates: time 0.003838/0.148, allocations: 1.872 MB / 479.1 MB, free: 4.707 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches