Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2794/0.2794, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.254e-05, allocations: 11.98 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 58.85 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.5905, allocations: 87.63 MB / 0.5584 GB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5909, allocations: 76.61 kB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02359/0.6145, allocations: 5.681 MB / 0.564 GB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6145, allocations: 4 kB / 0.564 GB, free: 11.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.6145, allocations: 3.938 kB / 0.564 GB, free: 11.16 MB / 378.7 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.0005521/0.6151, allocations: 409.3 kB / 0.5644 GB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6152, allocations: 12.03 kB / 0.5644 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.6152, allocations: 7.906 kB / 0.5644 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.6156, allocations: 230.3 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.6157, allocations: 7.062 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6157, allocations: 0 / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.6159, allocations: 57.8 kB / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6159, allocations: 0 / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6159, allocations: 4 kB / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6159, allocations: 0 / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/0.616, allocations: 21.61 kB / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.6165, allocations: 308.4 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.6167, allocations: 61.75 kB / 0.5651 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.6168, allocations: 16.8 kB / 0.5651 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.6168, allocations: 0 / 0.5651 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.6169, allocations: 67.2 kB / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.073e-06/0.617, allocations: 0 / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005948/0.6176, allocations: 170.7 kB / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6176, allocations: 51.41 kB / 0.5654 GB, free: 9.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.618, allocations: 245.8 kB / 0.5656 GB, free: 9.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.618, allocations: 25.7 kB / 0.5656 GB, free: 9.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.6181, allocations: 175.7 kB / 0.5658 GB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.6182, allocations: 18.97 kB / 0.5658 GB, free: 9.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.6182, allocations: 4 kB / 0.5658 GB, free: 9.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6183, allocations: 318.3 kB / 0.5661 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.6184, allocations: 22.88 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.743e-05/0.6185, allocations: 32.72 kB / 0.5662 GB, free: 8.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.6186, allocations: 26.92 kB / 0.5662 GB, free: 8.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6186, allocations: 0 / 0.5662 GB, free: 8.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002103/0.6188, allocations: 94.66 kB / 0.5663 GB, free: 8.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6188, allocations: 4 kB / 0.5663 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6189, allocations: 8.062 kB / 0.5663 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6189, allocations: 0 / 0.5663 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.619, allocations: 15.98 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.6191, allocations: 3.953 kB / 0.5663 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.6192, allocations: 8.031 kB / 0.5663 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.6192, allocations: 4 kB / 0.5663 GB, free: 8.762 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.539e-05/0.6193, allocations: 109.8 kB / 0.5664 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.6193, allocations: 11.89 kB / 0.5664 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.6197, allocations: 131.5 kB / 0.5666 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6197, allocations: 0 / 0.5666 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6197, allocations: 0 / 0.5666 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6197, allocations: 7.938 kB / 0.5666 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.6204, allocations: 431.5 kB / 0.567 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6204, allocations: 0 / 0.567 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.6205, allocations: 15.92 kB / 0.567 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6205, allocations: 0 / 0.567 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.6205, allocations: 7.125 kB / 0.567 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6205, allocations: 3.953 kB / 0.567 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6205, allocations: 0 / 0.567 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.6208, allocations: 218.7 kB / 0.5672 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.6209, allocations: 104.3 kB / 0.5673 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.621, allocations: 11.52 kB / 0.5673 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.6211, allocations: 0 / 0.5673 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.6212, allocations: 11.97 kB / 0.5673 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.6212, allocations: 7.938 kB / 0.5673 GB, free: 7.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.6215, allocations: 202.1 kB / 0.5675 GB, free: 7.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6215, allocations: 4 kB / 0.5675 GB, free: 7.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.6219, allocations: 38.98 kB / 0.5676 GB, free: 7.492 MB / 378.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.6231, allocations: 421.4 kB / 0.568 GB, free: 7.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.6233, allocations: 61.11 kB / 0.568 GB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6233, allocations: 0 / 0.568 GB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.6234, allocations: 34.92 kB / 0.5681 GB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.6238, allocations: 31.28 kB / 0.5681 GB, free: 7.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.6244, allocations: 253.4 kB / 0.5683 GB, free: 6.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.6247, allocations: 0.7201 MB / 0.569 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.6248, allocations: 18.5 kB / 0.5691 GB, free: 6.027 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.6248, allocations: 3.938 kB / 0.5691 GB, free: 6.023 MB / 378.7 MB Notification: Performance of Templates: time 0.005568/0.6304, allocations: 2.14 MB / 0.5712 GB, free: 3.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches