Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001372/0.001372, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.49/1.49, allocations: 222.9 MB / 243 MB, free: 15.08 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.282/0.282, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 65.53 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1369, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003604/0.1406, allocations: 1.695 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1422, allocations: 0.8846 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.1423, allocations: 4 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1426, allocations: 47.75 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1428, allocations: 59.77 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1431, allocations: 111.6 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1432, allocations: 99.69 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.1433, allocations: 4.234 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.1434, allocations: 43.78 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.1435, allocations: 27.84 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1435, allocations: 4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.1436, allocations: 43.94 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1437, allocations: 39.89 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.1437, allocations: 35.69 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1439, allocations: 135.5 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1439, allocations: 0 / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1439, allocations: 0 / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.144, allocations: 0 / 473.9 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.000591/0.1445, allocations: 434.7 kB / 474.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1446, allocations: 8.031 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.1446, allocations: 16.75 kB / 474.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1449, allocations: 224.5 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.145, allocations: 8.375 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.145, allocations: 4.125 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1451, allocations: 53.67 kB / 474.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1451, allocations: 4 kB / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1451, allocations: 0 / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-06/0.1452, allocations: 0 / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.1452, allocations: 19.98 kB / 474.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.1456, allocations: 300.8 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1458, allocations: 54.67 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.1458, allocations: 20.86 kB / 475.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1458, allocations: 0 / 475.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.146, allocations: 71.33 kB / 475.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.146, allocations: 0 / 475.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000485/0.1465, allocations: 193.2 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.1465, allocations: 55.34 kB / 475.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.1469, allocations: 262.3 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.147, allocations: 25.7 kB / 475.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.147, allocations: 116.1 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1471, allocations: 23.7 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.1471, allocations: 25.72 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1473, allocations: 330.8 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.1474, allocations: 19.98 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.1474, allocations: 37.64 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1476, allocations: 61.64 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1476, allocations: 0 / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002387/0.1478, allocations: 101.5 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1478, allocations: 8 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1479, allocations: 0 / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1479, allocations: 0 / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.148, allocations: 19.92 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.148, allocations: 4 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.148, allocations: 7.938 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.148, allocations: 4 kB / 476.4 MB, free: 7.688 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.0001134/0.1482, allocations: 143.8 kB / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1482, allocations: 11.81 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.1482, allocations: 21.58 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1482, allocations: 7.984 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1483, allocations: 3.938 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1483, allocations: 3.938 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.1488, allocations: 403.3 kB / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1488, allocations: 0 / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1488, allocations: 12.03 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1488, allocations: 0 / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1488, allocations: 7.922 kB / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1489, allocations: 4 kB / 477 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1489, allocations: 3.938 kB / 477 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1491, allocations: 208.4 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.1492, allocations: 88.92 kB / 477.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1492, allocations: 11.94 kB / 477.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.1493, allocations: 0 / 477.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.1493, allocations: 11.98 kB / 477.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1494, allocations: 4 kB / 477.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1495, allocations: 196.2 kB / 477.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1495, allocations: 0 / 477.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1498, allocations: 23.98 kB / 477.5 MB, free: 6.441 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.001083/0.1509, allocations: 471.5 kB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1511, allocations: 55.97 kB / 478.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1511, allocations: 0 / 478.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.1512, allocations: 32.06 kB / 478.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1515, allocations: 38.28 kB / 478.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.152, allocations: 279.6 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1525, allocations: 0.7158 MB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.1526, allocations: 25.17 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1527, allocations: 15.44 kB / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1527, allocations: 0 / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004561/0.1572, allocations: 1.725 MB / 480.9 MB, free: 3.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches