Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009627/0.0009627, allocations: 171.9 kB / 16.76 MB, free: 4.902 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.727/1.727, allocations: 205.4 MB / 222.9 MB, free: 8.957 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.0007764/0.0007763, allocations: 86.41 kB / 271.3 MB, free: 8.258 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.4058/0.4058, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004148, allocations: 20 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4963, allocations: 87.76 MB / 0.5657 GB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4966, allocations: 79.95 kB / 0.5657 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.512, allocations: 5.461 MB / 0.5711 GB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5121, allocations: 0 / 0.5711 GB, free: 8.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.5121, allocations: 8 kB / 0.5711 GB, free: 8.766 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007488/0.5129, allocations: 422 kB / 0.5715 GB, free: 8.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.513, allocations: 8.031 kB / 0.5715 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.513, allocations: 16.69 kB / 0.5715 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.5134, allocations: 212.8 kB / 0.5717 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.5134, allocations: 8.375 kB / 0.5717 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.5135, allocations: 3.281 kB / 0.5717 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.5137, allocations: 54.23 kB / 0.5718 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.5137, allocations: 4.188 kB / 0.5718 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.5137, allocations: 3.938 kB / 0.5718 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5137, allocations: 0 / 0.5718 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.5138, allocations: 23.98 kB / 0.5718 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.5143, allocations: 292.9 kB / 0.5721 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.5145, allocations: 66.61 kB / 0.5721 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.5146, allocations: 24.84 kB / 0.5722 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.5146, allocations: 7.922 kB / 0.5722 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.5148, allocations: 75.23 kB / 0.5722 GB, free: 7.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.5148, allocations: 4 kB / 0.5722 GB, free: 7.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000585/0.5154, allocations: 177.1 kB / 0.5724 GB, free: 7.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.5154, allocations: 51.41 kB / 0.5725 GB, free: 7.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.5157, allocations: 197.7 kB / 0.5727 GB, free: 6.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.5157, allocations: 25.7 kB / 0.5727 GB, free: 6.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.5158, allocations: 108.1 kB / 0.5728 GB, free: 6.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.5158, allocations: 23.64 kB / 0.5728 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.5158, allocations: 4 kB / 0.5728 GB, free: 6.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.516, allocations: 330.8 kB / 0.5731 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.5161, allocations: 19.98 kB / 0.5731 GB, free: 6.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.5161, allocations: 37.7 kB / 0.5732 GB, free: 6.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.5163, allocations: 65.7 kB / 0.5732 GB, free: 6.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5163, allocations: 0 / 0.5732 GB, free: 6.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.5165, allocations: 97.58 kB / 0.5733 GB, free: 6.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5165, allocations: 9.062 kB / 0.5733 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5165, allocations: 4 kB / 0.5733 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5166, allocations: 384 / 0.5733 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.5167, allocations: 19.92 kB / 0.5734 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5167, allocations: 0 / 0.5734 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.5167, allocations: 12 kB / 0.5734 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.5167, allocations: 4 kB / 0.5734 GB, free: 6.172 MB / 394.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.0001239/0.5169, allocations: 128.2 kB / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.5169, allocations: 15.81 kB / 0.5735 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.5172, allocations: 131.1 kB / 0.5736 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5172, allocations: 0 / 0.5736 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5172, allocations: 0 / 0.5736 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5172, allocations: 0 / 0.5736 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.5177, allocations: 419.2 kB / 0.574 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5177, allocations: 0 / 0.574 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.5177, allocations: 8 kB / 0.5741 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5178, allocations: 4.031 kB / 0.5741 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5178, allocations: 7.984 kB / 0.5741 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5178, allocations: 0 / 0.5741 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.5178, allocations: 7.875 kB / 0.5741 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.518, allocations: 208.1 kB / 0.5743 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.5181, allocations: 100.9 kB / 0.5744 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.5181, allocations: 4 kB / 0.5744 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.5182, allocations: 4 kB / 0.5744 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.5183, allocations: 15.92 kB / 0.5744 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.5183, allocations: 4 kB / 0.5744 GB, free: 5.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5184, allocations: 152.9 kB / 0.5745 GB, free: 4.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5184, allocations: 0 / 0.5745 GB, free: 4.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.5187, allocations: 31.94 kB / 0.5746 GB, free: 4.848 MB / 394.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.00103/0.5198, allocations: 479.8 kB / 0.575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.5199, allocations: 59.86 kB / 0.5751 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.52, allocations: 0 / 0.5751 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.52, allocations: 40.06 kB / 0.5751 GB, free: 4.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.5204, allocations: 32.09 kB / 0.5752 GB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.5209, allocations: 260.3 kB / 0.5754 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.5212, allocations: 0.7043 MB / 0.5761 GB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.5213, allocations: 16.55 kB / 0.5761 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.5213, allocations: 15.44 kB / 0.5761 GB, free: 3.309 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5213, allocations: 0 / 0.5761 GB, free: 3.309 MB / 394.7 MB Notification: Performance of Templates: time 0.004303/0.5256, allocations: 1.713 MB / 0.5778 GB, free: 1.602 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches