Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.001473, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.936/1.936, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001213/0.001213, allocations: 92.36 kB / 270.9 MB, free: 8.391 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.5127/0.5127, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006294, allocations: 12 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1271, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5742, allocations: 87.72 MB / 0.5644 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5746, allocations: 71.95 kB / 0.5645 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02483/0.5994, allocations: 5.395 MB / 0.5697 GB, free: 9.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.5995, allocations: 0 / 0.5697 GB, free: 9.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.5995, allocations: 0.5469 kB / 0.5697 GB, free: 9.613 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.0006815/0.6002, allocations: 422.3 kB / 0.5701 GB, free: 9.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6002, allocations: 12.02 kB / 0.5701 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.6003, allocations: 15.34 kB / 0.5702 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.6007, allocations: 209.9 kB / 0.5704 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.6007, allocations: 8 kB / 0.5704 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.6008, allocations: 3.984 kB / 0.5704 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.601, allocations: 58.53 kB / 0.5704 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.601, allocations: 0 / 0.5704 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.601, allocations: 8 kB / 0.5704 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.601, allocations: 1.031 kB / 0.5704 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.6012, allocations: 23.92 kB / 0.5705 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.6017, allocations: 288.8 kB / 0.5707 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.6019, allocations: 70.61 kB / 0.5708 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.602, allocations: 0 / 0.5708 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.6022, allocations: 71.45 kB / 0.5709 GB, free: 8.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.6022, allocations: 0 / 0.5709 GB, free: 8.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000784/0.603, allocations: 177.2 kB / 0.571 GB, free: 8.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.6031, allocations: 67.34 kB / 0.5711 GB, free: 8.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.6033, allocations: 161.4 kB / 0.5713 GB, free: 7.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.6034, allocations: 29.7 kB / 0.5713 GB, free: 7.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.6035, allocations: 162.6 kB / 0.5714 GB, free: 7.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.6035, allocations: 27.64 kB / 0.5715 GB, free: 7.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.6036, allocations: 0 / 0.5715 GB, free: 7.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6037, allocations: 310.8 kB / 0.5718 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.6038, allocations: 23.98 kB / 0.5718 GB, free: 7.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.6039, allocations: 41.7 kB / 0.5718 GB, free: 7.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.604, allocations: 24 kB / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6041, allocations: 0 / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003051/0.6044, allocations: 97.52 kB / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6044, allocations: 4 kB / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6044, allocations: 0.75 kB / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6045, allocations: 0 / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.6046, allocations: 24.02 kB / 0.572 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6046, allocations: 3.938 kB / 0.572 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.6047, allocations: 11.95 kB / 0.572 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6048, allocations: 0 / 0.572 GB, free: 7.098 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 0.000141/0.6049, allocations: 125.8 kB / 0.5721 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.605, allocations: 7.906 kB / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.6054, allocations: 122.6 kB / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6054, allocations: 0 / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6054, allocations: 4 kB / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6054, allocations: 0 / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.6061, allocations: 419.2 kB / 0.5726 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6062, allocations: 0 / 0.5726 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.6062, allocations: 15.98 kB / 0.5726 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.6063, allocations: 0 / 0.5726 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.6063, allocations: 4 kB / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.6063, allocations: 7.953 kB / 0.5727 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6063, allocations: 7.969 kB / 0.5727 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.6067, allocations: 214 kB / 0.5729 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.6068, allocations: 93 kB / 0.573 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.6068, allocations: 8.328 kB / 0.573 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.6069, allocations: 0 / 0.573 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.607, allocations: 11.98 kB / 0.573 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.6071, allocations: 12 kB / 0.573 GB, free: 5.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.6073, allocations: 148.7 kB / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6073, allocations: 0 / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.6077, allocations: 31.94 kB / 0.5732 GB, free: 5.77 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.001349/0.609, allocations: 482.7 kB / 0.5736 GB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.6094, allocations: 63.91 kB / 0.5737 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6094, allocations: 0 / 0.5737 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.6095, allocations: 31.98 kB / 0.5737 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.6099, allocations: 31.34 kB / 0.5737 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.6106, allocations: 278.6 kB / 0.574 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.611, allocations: 0.7122 MB / 0.5747 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.6111, allocations: 19.42 kB / 0.5747 GB, free: 4.207 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6111, allocations: 0 / 0.5747 GB, free: 4.207 MB / 394.7 MB Notification: Performance of Templates: time 0.005734/0.6169, allocations: 1.907 MB / 0.5766 GB, free: 2.305 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches