Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001133, allocations: 167.8 kB / 16.76 MB, free: 4.93 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.627/1.627, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.000871/0.000871, allocations: 85.97 kB / 271.3 MB, free: 8.25 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.4182/0.4182, allocations: 43.55 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004264, allocations: 23.98 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1557, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5872, allocations: 88.75 MB / 0.5666 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5876, allocations: 75.97 kB / 0.5667 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.5996, allocations: 4.266 MB / 0.5709 GB, free: 8.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.41e-06/0.5996, allocations: 0 / 0.5709 GB, free: 8.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.5997, allocations: 7.938 kB / 0.5709 GB, free: 8.934 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006371/0.6003, allocations: 485.1 kB / 0.5713 GB, free: 8.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6004, allocations: 8.031 kB / 0.5714 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.6004, allocations: 16.75 kB / 0.5714 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.6008, allocations: 231.9 kB / 0.5716 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.6008, allocations: 8.375 kB / 0.5716 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.6008, allocations: 4.375 kB / 0.5716 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.6011, allocations: 115.3 kB / 0.5717 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6011, allocations: 192 / 0.5717 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.6011, allocations: 3.938 kB / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.6011, allocations: 4 kB / 0.5717 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.6013, allocations: 55.89 kB / 0.5718 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.6019, allocations: 0.5204 MB / 0.5723 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.6023, allocations: 86.67 kB / 0.5724 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.6024, allocations: 44.83 kB / 0.5724 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.6024, allocations: 0 / 0.5724 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.6026, allocations: 91.31 kB / 0.5725 GB, free: 7.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.6026, allocations: 0 / 0.5725 GB, free: 7.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004155/0.603, allocations: 150.2 kB / 0.5726 GB, free: 6.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6031, allocations: 51.41 kB / 0.5727 GB, free: 6.883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.6033, allocations: 195.8 kB / 0.5729 GB, free: 6.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6033, allocations: 29.7 kB / 0.5729 GB, free: 6.641 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.6034, allocations: 120 kB / 0.573 GB, free: 6.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.6034, allocations: 31.62 kB / 0.573 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.6034, allocations: 3.938 kB / 0.573 GB, free: 6.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6036, allocations: 330.8 kB / 0.5734 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.6037, allocations: 27.98 kB / 0.5734 GB, free: 6.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.6038, allocations: 68.98 kB / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.604, allocations: 116.1 kB / 0.5736 GB, free: 5.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.604, allocations: 0 / 0.5736 GB, free: 5.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002564/0.6043, allocations: 141.3 kB / 0.5737 GB, free: 5.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6043, allocations: 8 kB / 0.5737 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6043, allocations: 0 / 0.5737 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6044, allocations: 4 kB / 0.5737 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.6045, allocations: 24.11 kB / 0.5737 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6045, allocations: 4 kB / 0.5737 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.6046, allocations: 19.83 kB / 0.5738 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.6046, allocations: 11.94 kB / 0.5738 GB, free: 5.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001107/0.6047, allocations: 125.8 kB / 0.5739 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.6047, allocations: 11.81 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.605, allocations: 139 kB / 0.574 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6051, allocations: 0 / 0.574 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6051, allocations: 4.734 kB / 0.574 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6051, allocations: 0 / 0.574 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.6053, allocations: 213.7 kB / 0.5742 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6053, allocations: 4 kB / 0.5742 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.6054, allocations: 19.92 kB / 0.5743 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6054, allocations: 0 / 0.5743 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.6054, allocations: 8 kB / 0.5743 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6054, allocations: 4 kB / 0.5743 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6054, allocations: 0 / 0.5743 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.6058, allocations: 200.8 kB / 0.5745 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.6059, allocations: 88.98 kB / 0.5746 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.6059, allocations: 11.98 kB / 0.5746 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.606, allocations: 8.062 kB / 0.5746 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.606, allocations: 7.984 kB / 0.5746 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.6061, allocations: 4 kB / 0.5746 GB, free: 4.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.6062, allocations: 145.1 kB / 0.5747 GB, free: 4.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6062, allocations: 0 / 0.5747 GB, free: 4.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.6064, allocations: 39.97 kB / 0.5748 GB, free: 4.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009726/0.6074, allocations: 432.6 kB / 0.5752 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.6077, allocations: 91.83 kB / 0.5753 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.6077, allocations: 0 / 0.5753 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.6078, allocations: 39.97 kB / 0.5753 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.6081, allocations: 36.16 kB / 0.5753 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.6087, allocations: 304.1 kB / 0.5756 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.6091, allocations: 0.7126 MB / 0.5763 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.244e-05/0.6091, allocations: 17.08 kB / 0.5763 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.6092, allocations: 15.44 kB / 0.5763 GB, free: 3.012 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6092, allocations: 0 / 0.5763 GB, free: 3.012 MB / 394.7 MB Notification: Performance of Templates: time 0.004584/0.6138, allocations: 1.801 MB / 0.5781 GB, free: 1.223 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches