Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 91.2 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.313/0.313, allocations: 44.21 MB / 387.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003136, allocations: 12 kB / 459.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3259, allocations: 61.9 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.4263, allocations: 89.3 MB / 0.5968 GB, free: 5.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4266, allocations: 79.94 kB / 0.5969 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.4416, allocations: 5.761 MB / 0.6025 GB, free: 32 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4416, allocations: 3.938 kB / 0.6025 GB, free: 28 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4417, allocations: 4 kB / 0.6025 GB, free: 24 kB / 410.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.00051/0.4422, allocations: 430.8 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.4422, allocations: 12.02 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.4423, allocations: 11.91 kB / 0.6029 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.4426, allocations: 229.6 kB / 0.6031 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4426, allocations: 3.953 kB / 0.6031 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.4426, allocations: 7.938 kB / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4428, allocations: 53.67 kB / 0.6032 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4428, allocations: 4 kB / 0.6032 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.4428, allocations: 0 / 0.6032 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4428, allocations: 4 kB / 0.6032 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.4429, allocations: 19.98 kB / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.4433, allocations: 300.9 kB / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4434, allocations: 62.61 kB / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.4435, allocations: 0 / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.4436, allocations: 67.52 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4436, allocations: 0 / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005161/0.4441, allocations: 181.1 kB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.4442, allocations: 63.33 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4444, allocations: 193.8 kB / 0.6041 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4444, allocations: 37.7 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.4445, allocations: 104.1 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.4445, allocations: 27.64 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.4445, allocations: 0 / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4446, allocations: 331 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.4447, allocations: 19.98 kB / 0.6046 GB, free: 13.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.4448, allocations: 37.64 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/0.4448, allocations: 32 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4448, allocations: 0 / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.445, allocations: 105.4 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4451, allocations: 4 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4451, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4451, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.4452, allocations: 16 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4452, allocations: 0 / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.4452, allocations: 11.98 kB / 0.6048 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.4453, allocations: 4.031 kB / 0.6048 GB, free: 13.47 MB / 426.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.936e-05/0.4454, allocations: 136.2 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.4454, allocations: 15.84 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.4456, allocations: 119 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4456, allocations: 0 / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4457, allocations: 4 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4457, allocations: 3.984 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.4461, allocations: 427.5 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4461, allocations: 0 / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.4462, allocations: 19.94 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4462, allocations: 3.984 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4462, allocations: 4 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4462, allocations: 4.281 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4462, allocations: 0 / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.4465, allocations: 229.9 kB / 0.6057 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.4466, allocations: 100.9 kB / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4466, allocations: 0 / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.4467, allocations: 4 kB / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.4467, allocations: 11.98 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.4467, allocations: 7.953 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.4469, allocations: 172.3 kB / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4469, allocations: 0 / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.4472, allocations: 35.94 kB / 0.606 GB, free: 12.09 MB / 426.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.0009472/0.4481, allocations: 476 kB / 0.6065 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4483, allocations: 63.91 kB / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4483, allocations: 0 / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.4484, allocations: 35.92 kB / 0.6065 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.4486, allocations: 27.12 kB / 0.6066 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.4491, allocations: 279 kB / 0.6068 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4495, allocations: 0.7199 MB / 0.6075 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.4496, allocations: 16.5 kB / 0.6076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.4496, allocations: 23.42 kB / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4496, allocations: 0 / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of Templates: time 0.004249/0.4539, allocations: 1.746 MB / 0.6093 GB, free: 8.855 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches