Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 181.1 kB / 15.76 MB, free: 6.367 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.603/1.603, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009008/0.000901, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.2139/0.2139, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1395, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.6017, allocations: 87.71 MB / 0.5644 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004172/0.6023, allocations: 76.47 kB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01902/0.6213, allocations: 5.586 MB / 0.5699 GB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.063e-06/0.6214, allocations: 0 / 0.5699 GB, free: 7.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.6214, allocations: 7.938 kB / 0.5699 GB, free: 7.273 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.0006929/0.6221, allocations: 428.7 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.6222, allocations: 8.031 kB / 0.5704 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.6222, allocations: 11.91 kB / 0.5704 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.6227, allocations: 241.5 kB / 0.5706 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.6227, allocations: 7.969 kB / 0.5706 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.6228, allocations: 7.625 kB / 0.5706 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.623, allocations: 56.23 kB / 0.5707 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.623, allocations: 0 / 0.5707 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.623, allocations: 0 / 0.5707 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.623, allocations: 0 / 0.5707 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.6231, allocations: 19.48 kB / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.6238, allocations: 307.8 kB / 0.571 GB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.624, allocations: 63.61 kB / 0.571 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.6241, allocations: 0 / 0.571 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.6242, allocations: 65.45 kB / 0.5711 GB, free: 5.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.6243, allocations: 0 / 0.5711 GB, free: 5.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006466/0.6249, allocations: 181.2 kB / 0.5713 GB, free: 5.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.625, allocations: 59.36 kB / 0.5713 GB, free: 5.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.6252, allocations: 198.6 kB / 0.5715 GB, free: 5.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.6252, allocations: 29.39 kB / 0.5716 GB, free: 5.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.6253, allocations: 106.7 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.6253, allocations: 26.95 kB / 0.5717 GB, free: 5.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.6253, allocations: 2.375 kB / 0.5717 GB, free: 5.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6255, allocations: 330.3 kB / 0.572 GB, free: 5.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.6255, allocations: 19.48 kB / 0.572 GB, free: 5.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.6256, allocations: 35.14 kB / 0.5721 GB, free: 5.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.984e-05/0.6257, allocations: 26.25 kB / 0.5721 GB, free: 5.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.6257, allocations: 0 / 0.5721 GB, free: 5.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.6259, allocations: 107.2 kB / 0.5722 GB, free: 4.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6259, allocations: 14.69 kB / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6259, allocations: 0 / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6259, allocations: 0 / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.626, allocations: 19.92 kB / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.6261, allocations: 4 kB / 0.5722 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.6261, allocations: 7.391 kB / 0.5722 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.6261, allocations: 4 kB / 0.5722 GB, free: 4.918 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 () * 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.0001124/0.6263, allocations: 129.5 kB / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.6263, allocations: 15.81 kB / 0.5724 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.6266, allocations: 131.5 kB / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6266, allocations: 0 / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6266, allocations: 0 / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6266, allocations: 3.984 kB / 0.5725 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.6271, allocations: 420.9 kB / 0.5729 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6272, allocations: 3.984 kB / 0.5729 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.6272, allocations: 16.03 kB / 0.5729 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6272, allocations: 4 kB / 0.5729 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.6272, allocations: 0 / 0.5729 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6272, allocations: 3.953 kB / 0.5729 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6273, allocations: 7.938 kB / 0.5729 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.6275, allocations: 219 kB / 0.5731 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.6276, allocations: 99.64 kB / 0.5732 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.6277, allocations: 4.953 kB / 0.5732 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.6277, allocations: 9.859 kB / 0.5733 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.6278, allocations: 4.938 kB / 0.5733 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.6278, allocations: 7.984 kB / 0.5733 GB, free: 3.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.628, allocations: 166.2 kB / 0.5734 GB, free: 3.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.628, allocations: 0 / 0.5734 GB, free: 3.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.6283, allocations: 35.8 kB / 0.5735 GB, free: 3.672 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) * 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.00114/0.6295, allocations: 479.7 kB / 0.5739 GB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.6297, allocations: 62.53 kB / 0.574 GB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6297, allocations: 0 / 0.574 GB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.6298, allocations: 41.05 kB / 0.574 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.6301, allocations: 23.17 kB / 0.574 GB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.6306, allocations: 283.4 kB / 0.5743 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.6309, allocations: 0.7121 MB / 0.575 GB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.631, allocations: 20.53 kB / 0.575 GB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.6311, allocations: 17.69 kB / 0.575 GB, free: 2.102 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6311, allocations: 0 / 0.575 GB, free: 2.102 MB / 378.7 MB Notification: Performance of Templates: time 0.004544/0.6356, allocations: 1.749 MB / 0.5767 GB, free: 380 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches