Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002258/0.002258, allocations: 182 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.189/2.189, 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.001067/0.001066, allocations: 86.72 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.2847/0.2847, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.266e-05, allocations: 7.984 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 58.85 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4763/0.5923, allocations: 87.62 MB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5926, allocations: 81.3 kB / 0.5584 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02384/0.6165, allocations: 5.348 MB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6166, allocations: 0 / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.6166, allocations: 3.938 kB / 0.5637 GB, free: 11.41 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.0006198/0.6172, allocations: 394 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6173, allocations: 8.031 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.6173, allocations: 15.91 kB / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.6178, allocations: 218.6 kB / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.6178, allocations: 0 / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.6178, allocations: 4 kB / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.618, allocations: 49.44 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.618, allocations: 3.984 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.6181, allocations: 7 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6181, allocations: 0 / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.6182, allocations: 19.36 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.6187, allocations: 296.4 kB / 0.5646 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.6189, allocations: 55.81 kB / 0.5647 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.619, allocations: 22.3 kB / 0.5647 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.619, allocations: 0 / 0.5647 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.6192, allocations: 68.77 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.6192, allocations: 0 / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000653/0.6198, allocations: 165.8 kB / 0.5649 GB, free: 10.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.6199, allocations: 55.41 kB / 0.565 GB, free: 9.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.6202, allocations: 176.1 kB / 0.5652 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.6202, allocations: 25.7 kB / 0.5652 GB, free: 9.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.6203, allocations: 165.4 kB / 0.5653 GB, free: 9.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.6204, allocations: 22.58 kB / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.6204, allocations: 4 kB / 0.5654 GB, free: 9.609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6206, allocations: 318.8 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.6206, allocations: 15.94 kB / 0.5657 GB, free: 9.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.713e-05/0.6207, allocations: 37.53 kB / 0.5657 GB, free: 9.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.6209, allocations: 31.3 kB / 0.5658 GB, free: 9.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6209, allocations: 0 / 0.5658 GB, free: 9.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002504/0.6211, allocations: 85.97 kB / 0.5658 GB, free: 9.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6212, allocations: 12.03 kB / 0.5658 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6212, allocations: 0 / 0.5658 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6212, allocations: 0 / 0.5658 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.6214, allocations: 19.92 kB / 0.5659 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6214, allocations: 7.953 kB / 0.5659 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.6215, allocations: 3.25 kB / 0.5659 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.6216, allocations: 4 kB / 0.5659 GB, free: 9.105 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 0.0001053/0.6217, allocations: 113.4 kB / 0.566 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.6217, allocations: 7.906 kB / 0.566 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.6221, allocations: 118.9 kB / 0.5661 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6221, allocations: 3.984 kB / 0.5661 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6221, allocations: 0 / 0.5661 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.6221, allocations: 7.953 kB / 0.5661 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.6228, allocations: 404.9 kB / 0.5665 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6228, allocations: 4 kB / 0.5665 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.6229, allocations: 8 kB / 0.5665 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6229, allocations: 0 / 0.5665 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6229, allocations: 7.781 kB / 0.5665 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.6229, allocations: 7.953 kB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6229, allocations: 0 / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.6233, allocations: 211.1 kB / 0.5667 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.6234, allocations: 92.38 kB / 0.5668 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.6234, allocations: 8.328 kB / 0.5668 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.6235, allocations: 11.55 kB / 0.5668 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.6236, allocations: 7.938 kB / 0.5669 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.6236, allocations: 7.938 kB / 0.5669 GB, free: 8.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.6238, allocations: 146.1 kB / 0.567 GB, free: 7.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6238, allocations: 4 kB / 0.567 GB, free: 7.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.6242, allocations: 31.34 kB / 0.567 GB, free: 7.926 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.001296/0.6255, allocations: 426.9 kB / 0.5674 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.6258, allocations: 57.98 kB / 0.5675 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6258, allocations: 4 kB / 0.5675 GB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.6259, allocations: 33.56 kB / 0.5675 GB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.6263, allocations: 29.97 kB / 0.5676 GB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.6269, allocations: 187.5 kB / 0.5677 GB, free: 7.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.6272, allocations: 0.7082 MB / 0.5684 GB, free: 6.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.6273, allocations: 19.42 kB / 0.5684 GB, free: 6.516 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6273, allocations: 0 / 0.5684 GB, free: 6.516 MB / 378.7 MB Notification: Performance of Templates: time 0.005641/0.633, allocations: 1.935 MB / 0.5703 GB, free: 4.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches