Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 181.2 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007164/0.0007166, allocations: 94.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3573/0.3573, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.000391, allocations: 16 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1236, allocations: 58.86 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.4609, allocations: 87.71 MB / 0.5656 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4612, allocations: 75.95 kB / 0.5657 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01386/0.4751, allocations: 5.188 MB / 0.5707 GB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4751, allocations: 4 kB / 0.5707 GB, free: 9.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.4752, allocations: 4.656 kB / 0.5707 GB, free: 9.48 MB / 394.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.000586/0.4758, allocations: 410 kB / 0.5711 GB, free: 9.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4758, allocations: 12.03 kB / 0.5711 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.4759, allocations: 12.75 kB / 0.5712 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.4761, allocations: 205.3 kB / 0.5714 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4762, allocations: 4.375 kB / 0.5714 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.4762, allocations: 12.36 kB / 0.5714 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4764, allocations: 57.8 kB / 0.5714 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4764, allocations: 6.984 kB / 0.5714 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4764, allocations: 3.938 kB / 0.5714 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4764, allocations: 0 / 0.5714 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.4765, allocations: 27.92 kB / 0.5715 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.4769, allocations: 288.9 kB / 0.5717 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.4771, allocations: 62.67 kB / 0.5718 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.062e-05/0.4772, allocations: 20.84 kB / 0.5718 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4772, allocations: 3.938 kB / 0.5718 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.4773, allocations: 67.39 kB / 0.5719 GB, free: 8.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4774, allocations: 0 / 0.5719 GB, free: 8.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000566/0.4779, allocations: 181.1 kB / 0.5721 GB, free: 7.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.478, allocations: 55.41 kB / 0.5721 GB, free: 7.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4782, allocations: 165.7 kB / 0.5723 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.4782, allocations: 29.7 kB / 0.5723 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.4783, allocations: 96.12 kB / 0.5724 GB, free: 7.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4783, allocations: 23.66 kB / 0.5724 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4783, allocations: 0 / 0.5724 GB, free: 7.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4784, allocations: 322.8 kB / 0.5727 GB, free: 7.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.4785, allocations: 27.98 kB / 0.5727 GB, free: 7.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.4786, allocations: 33.7 kB / 0.5728 GB, free: 7.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4787, allocations: 65.64 kB / 0.5728 GB, free: 7.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4787, allocations: 0 / 0.5728 GB, free: 7.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.4789, allocations: 105.5 kB / 0.5729 GB, free: 6.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4789, allocations: 8 kB / 0.5729 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4789, allocations: 4.031 kB / 0.5729 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.479, allocations: 0 / 0.5729 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.479, allocations: 13.12 kB / 0.573 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4791, allocations: 4 kB / 0.573 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.4791, allocations: 7.922 kB / 0.573 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4791, allocations: 4 kB / 0.573 GB, free: 6.957 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/0.4792, allocations: 121.8 kB / 0.5731 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.4792, allocations: 7.906 kB / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.4795, allocations: 122.5 kB / 0.5732 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4796, allocations: 3.984 kB / 0.5732 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4796, allocations: 96 / 0.5732 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4796, allocations: 7.875 kB / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.48, allocations: 399.6 kB / 0.5736 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4801, allocations: 3.938 kB / 0.5736 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.4801, allocations: 19.92 kB / 0.5736 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4801, allocations: 7.969 kB / 0.5736 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4801, allocations: 4 kB / 0.5736 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4801, allocations: 0 / 0.5736 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4801, allocations: 0 / 0.5736 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.4804, allocations: 212.2 kB / 0.5738 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.4805, allocations: 85.02 kB / 0.5739 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.4805, allocations: 7.938 kB / 0.5739 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.4806, allocations: 11.98 kB / 0.5739 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4806, allocations: 4 kB / 0.574 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4806, allocations: 4 kB / 0.574 GB, free: 5.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4808, allocations: 124 kB / 0.5741 GB, free: 5.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4808, allocations: 0 / 0.5741 GB, free: 5.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.481, allocations: 39.92 kB / 0.5741 GB, free: 5.684 MB / 394.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) * Number of clocked states: 0 () * 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.001016/0.482, allocations: 477.7 kB / 0.5746 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.4822, allocations: 63.91 kB / 0.5746 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4822, allocations: 3.938 kB / 0.5746 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.4823, allocations: 35.92 kB / 0.5747 GB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.4826, allocations: 29.47 kB / 0.5747 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.4831, allocations: 250 kB / 0.5749 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.4834, allocations: 0.7082 MB / 0.5756 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.4835, allocations: 15.44 kB / 0.5756 GB, free: 4.164 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4835, allocations: 0 / 0.5756 GB, free: 4.164 MB / 394.7 MB Notification: Performance of Templates: time 0.003273/0.4867, allocations: 1.847 MB / 0.5774 GB, free: 2.324 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches