Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 109.5 kB / 17.77 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 188 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 59.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6326/0.6343, allocations: 60.83 MB / 0.519 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003918/0.6383, allocations: 1.711 MB / 0.5207 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.6405, allocations: 0.8722 MB / 0.5215 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.6407, allocations: 5.062 kB / 0.5215 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.6413, allocations: 42.14 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.6417, allocations: 62.62 kB / 0.5216 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.6422, allocations: 104.9 kB / 0.5217 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.6425, allocations: 100.2 kB / 0.5218 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.6427, allocations: 16.27 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.6428, allocations: 45.02 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.6429, allocations: 34.58 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.643, allocations: 3.406 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.6431, allocations: 42.27 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.6432, allocations: 21.31 kB / 0.522 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.201e-05/0.6433, allocations: 42.22 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.6437, allocations: 120.9 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6437, allocations: 0 / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.96e-06/0.6437, allocations: 0 / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.6437, allocations: 3.938 kB / 0.5221 GB, free: 1.551 MB / 382.1 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.0007739/0.6445, allocations: 433 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.6446, allocations: 8.469 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.6447, allocations: 15.2 kB / 0.5226 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.645, allocations: 204.3 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6451, allocations: 2.672 kB / 0.5228 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.6451, allocations: 9.656 kB / 0.5228 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.6453, allocations: 51.28 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6453, allocations: 0 / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.6454, allocations: 8 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.6454, allocations: 5.438 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.6455, allocations: 22.39 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.646, allocations: 294.2 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.6462, allocations: 56.38 kB / 0.5232 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.927e-05/0.6463, allocations: 27.17 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.6463, allocations: 1.531 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.6465, allocations: 66.58 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.6465, allocations: 0 / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008022/0.6473, allocations: 173.2 kB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.6474, allocations: 56.5 kB / 0.5235 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.6478, allocations: 223.4 kB / 0.5237 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.6478, allocations: 31.84 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.6479, allocations: 104.9 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.648, allocations: 22.2 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.6481, allocations: 21.75 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6483, allocations: 331.9 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.6483, allocations: 17.36 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.6484, allocations: 42.59 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.6486, allocations: 61.47 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6486, allocations: 0.5156 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002929/0.6489, allocations: 106.4 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6489, allocations: 5.594 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.649, allocations: 0.6094 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.649, allocations: 5.719 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.6491, allocations: 18.66 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.6491, allocations: 6.547 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.6492, allocations: 6.375 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.6492, allocations: 3.594 kB / 0.5245 GB, free: 15.51 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.6493, allocations: 133.3 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.6494, allocations: 15.03 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.6495, allocations: 18.72 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6495, allocations: 0 / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6495, allocations: 3.938 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6495, allocations: 10.09 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.6501, allocations: 392.9 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6501, allocations: 2.094 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.6501, allocations: 11.86 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6501, allocations: 1.969 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.6502, allocations: 15.73 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6502, allocations: 0 / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6502, allocations: 0 / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.6505, allocations: 205.8 kB / 0.5252 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.6505, allocations: 85.19 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.6506, allocations: 10.67 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.6506, allocations: 2.359 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.6507, allocations: 9.688 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.6507, allocations: 5.219 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.6509, allocations: 177.9 kB / 0.5255 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6509, allocations: 0 / 0.5255 GB, free: 14.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.6512, allocations: 22.95 kB / 0.5255 GB, free: 14.6 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.6524, allocations: 472.9 kB / 0.526 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.6527, allocations: 56.77 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6527, allocations: 0 / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.112e-05/0.6528, allocations: 28.55 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.6532, allocations: 28.92 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.6541, allocations: 253 kB / 0.5263 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.6546, allocations: 0.718 MB / 0.527 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.837e-05/0.6547, allocations: 16.8 kB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.6548, allocations: 17.48 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6548, allocations: 0 / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.006375/0.6612, allocations: 1.758 MB / 0.5288 GB, free: 12.85 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches