Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.552/1.552, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007999/0.0008003, allocations: 88.58 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.4645/0.4645, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004963, allocations: 23.98 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.148, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.594, allocations: 88.75 MB / 0.5666 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5943, allocations: 75.95 kB / 0.5667 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.6059, allocations: 4.26 MB / 0.5709 GB, free: 8.934 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.606, allocations: 0 / 0.5709 GB, free: 8.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.606, allocations: 11.92 kB / 0.5709 GB, free: 8.922 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.0006918/0.6067, allocations: 481.8 kB / 0.5713 GB, free: 8.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6068, allocations: 8.031 kB / 0.5713 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.6068, allocations: 20.75 kB / 0.5714 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.6072, allocations: 235.8 kB / 0.5716 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.6072, allocations: 8.375 kB / 0.5716 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.6072, allocations: 4.375 kB / 0.5716 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.6075, allocations: 108.3 kB / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6075, allocations: 192 / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.6075, allocations: 7.938 kB / 0.5717 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.6076, allocations: 12 kB / 0.5717 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.6077, allocations: 55.89 kB / 0.5718 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.6084, allocations: 0.5126 MB / 0.5723 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.6087, allocations: 90.66 kB / 0.5724 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.6088, allocations: 40.84 kB / 0.5724 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.6088, allocations: 7.969 kB / 0.5724 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.609, allocations: 87.31 kB / 0.5725 GB, free: 7.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.609, allocations: 0 / 0.5725 GB, free: 7.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004124/0.6095, allocations: 153.5 kB / 0.5726 GB, free: 6.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6095, allocations: 55.41 kB / 0.5727 GB, free: 6.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.6097, allocations: 195.4 kB / 0.5729 GB, free: 6.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6097, allocations: 25.7 kB / 0.5729 GB, free: 6.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.6098, allocations: 116 kB / 0.573 GB, free: 6.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.6099, allocations: 31.64 kB / 0.573 GB, free: 6.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.6099, allocations: 0 / 0.573 GB, free: 6.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.61, allocations: 334.7 kB / 0.5734 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.6101, allocations: 31.98 kB / 0.5734 GB, free: 6.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.6102, allocations: 64.48 kB / 0.5735 GB, free: 6.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.6104, allocations: 113.3 kB / 0.5736 GB, free: 5.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6104, allocations: 0 / 0.5736 GB, free: 5.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000271/0.6107, allocations: 149.3 kB / 0.5737 GB, free: 5.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6107, allocations: 8 kB / 0.5737 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6107, allocations: 0 / 0.5737 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6108, allocations: 4 kB / 0.5737 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.6109, allocations: 19.98 kB / 0.5737 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6109, allocations: 4 kB / 0.5737 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.611, allocations: 11.89 kB / 0.5738 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.611, allocations: 15.88 kB / 0.5738 GB, free: 5.691 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.0001056/0.6111, allocations: 125.9 kB / 0.5739 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.6111, allocations: 15.81 kB / 0.5739 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.6114, allocations: 135 kB / 0.574 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.6115, allocations: 4 kB / 0.574 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6115, allocations: 0 / 0.574 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6115, allocations: 0 / 0.574 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.6117, allocations: 217.5 kB / 0.5742 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6117, allocations: 4 kB / 0.5742 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.6118, allocations: 15.98 kB / 0.5743 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.6118, allocations: 4 kB / 0.5743 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.6118, allocations: 4 kB / 0.5743 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6118, allocations: 0 / 0.5743 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6118, allocations: 0 / 0.5743 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.6122, allocations: 204.8 kB / 0.5745 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.6123, allocations: 85.33 kB / 0.5745 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.6124, allocations: 15.92 kB / 0.5746 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.953e-05/0.6124, allocations: 4 kB / 0.5746 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.6125, allocations: 11.92 kB / 0.5746 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.6125, allocations: 4 kB / 0.5746 GB, free: 4.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.6126, allocations: 145.1 kB / 0.5747 GB, free: 4.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.833e-06/0.6126, allocations: 4.062 kB / 0.5747 GB, free: 4.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.6129, allocations: 43.91 kB / 0.5748 GB, free: 4.574 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.0009417/0.6138, allocations: 412.9 kB / 0.5752 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.6141, allocations: 91.77 kB / 0.5752 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6141, allocations: 4.25 kB / 0.5753 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.6142, allocations: 43.97 kB / 0.5753 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.6145, allocations: 31.97 kB / 0.5753 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.615, allocations: 304.1 kB / 0.5756 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.6153, allocations: 0.7087 MB / 0.5763 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.388e-05/0.6154, allocations: 29.06 kB / 0.5763 GB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.6155, allocations: 19.42 kB / 0.5764 GB, free: 2.996 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6155, allocations: 0 / 0.5764 GB, free: 2.996 MB / 394.7 MB Notification: Performance of Templates: time 0.004836/0.6203, allocations: 1.797 MB / 0.5781 GB, free: 1.207 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches