Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002239/0.002238, allocations: 187.1 kB / 16.41 MB, free: 5.723 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.16/2.16, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001145/0.001145, allocations: 88.42 kB / 270.9 MB, free: 8.371 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.5123/0.5123, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004775, allocations: 19.98 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5837, allocations: 87.66 MB / 0.5643 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.584, allocations: 79.95 kB / 0.5644 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02429/0.6083, allocations: 5.413 MB / 0.5697 GB, free: 9.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6084, allocations: 0 / 0.5697 GB, free: 9.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.6084, allocations: 0 / 0.5697 GB, free: 9.617 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.0006955/0.6091, allocations: 429.7 kB / 0.5701 GB, free: 9.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6092, allocations: 12.03 kB / 0.5701 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.6092, allocations: 15.25 kB / 0.5701 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.6096, allocations: 215.9 kB / 0.5703 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.6097, allocations: 4 kB / 0.5703 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.6097, allocations: 4 kB / 0.5703 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.6099, allocations: 54.55 kB / 0.5704 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6099, allocations: 3.938 kB / 0.5704 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.61, allocations: 0 / 0.5704 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.61, allocations: 1.031 kB / 0.5704 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.6101, allocations: 35.89 kB / 0.5704 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.6107, allocations: 296.8 kB / 0.5707 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.6109, allocations: 54.67 kB / 0.5708 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.611, allocations: 128 / 0.5708 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.6112, allocations: 79.33 kB / 0.5709 GB, free: 8.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.6112, allocations: 0 / 0.5709 GB, free: 8.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000819/0.612, allocations: 177.2 kB / 0.571 GB, free: 8.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6121, allocations: 63.34 kB / 0.5711 GB, free: 8.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.6124, allocations: 195.8 kB / 0.5713 GB, free: 7.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6125, allocations: 25.7 kB / 0.5713 GB, free: 7.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.6126, allocations: 170.5 kB / 0.5715 GB, free: 7.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.6126, allocations: 19.72 kB / 0.5715 GB, free: 7.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.6126, allocations: 4 kB / 0.5715 GB, free: 7.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6128, allocations: 318.8 kB / 0.5718 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.6129, allocations: 19.98 kB / 0.5718 GB, free: 7.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.613, allocations: 37.7 kB / 0.5718 GB, free: 7.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.6131, allocations: 20 kB / 0.5719 GB, free: 7.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6131, allocations: 0 / 0.5719 GB, free: 7.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003112/0.6134, allocations: 105.7 kB / 0.572 GB, free: 7.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6135, allocations: 8 kB / 0.572 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6135, allocations: 3.938 kB / 0.572 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6135, allocations: 0 / 0.572 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.6137, allocations: 15.94 kB / 0.572 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.6137, allocations: 7.984 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.6138, allocations: 3.953 kB / 0.572 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.6139, allocations: 4 kB / 0.572 GB, free: 7.055 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.0001572/0.614, allocations: 133.8 kB / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.6141, allocations: 11.94 kB / 0.5721 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.6145, allocations: 122.9 kB / 0.5723 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6145, allocations: 4 kB / 0.5723 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6145, allocations: 0 / 0.5723 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6146, allocations: 0 / 0.5723 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.6153, allocations: 423.4 kB / 0.5727 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6154, allocations: 3.938 kB / 0.5727 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.6155, allocations: 12.03 kB / 0.5727 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.6155, allocations: 4 kB / 0.5727 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6155, allocations: 4 kB / 0.5727 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.6155, allocations: 7.938 kB / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6155, allocations: 0 / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.6159, allocations: 222 kB / 0.5729 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.616, allocations: 96.91 kB / 0.573 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.6161, allocations: 7.953 kB / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.6162, allocations: 384 / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.6163, allocations: 19.91 kB / 0.573 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.6163, allocations: 4 kB / 0.573 GB, free: 5.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.6166, allocations: 156.2 kB / 0.5732 GB, free: 5.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6166, allocations: 0 / 0.5732 GB, free: 5.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.617, allocations: 43.92 kB / 0.5732 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.001378/0.6184, allocations: 474.3 kB / 0.5737 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.6188, allocations: 67.89 kB / 0.5737 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6188, allocations: 64 / 0.5737 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.6189, allocations: 39.92 kB / 0.5738 GB, free: 5.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.6193, allocations: 19.98 kB / 0.5738 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.6201, allocations: 303.4 kB / 0.5741 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.6204, allocations: 0.7121 MB / 0.5748 GB, free: 4.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.6205, allocations: 15.44 kB / 0.5748 GB, free: 4.109 MB / 394.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6205, allocations: 0 / 0.5748 GB, free: 4.109 MB / 394.7 MB Notification: Performance of Templates: time 0.005746/0.6263, allocations: 2.001 MB / 0.5767 GB, free: 2.121 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches