Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.0009405/0.0009406, allocations: 183 kB / 18.72 MB, free: 4.332 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.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2043/0.2043, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.89 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3475, allocations: 60.82 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002774/0.3503, allocations: 1.711 MB / 0.5207 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.352, allocations: 1.481 MB / 0.5221 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.3521, allocations: 0 / 0.5221 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.3524, allocations: 40.03 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3526, allocations: 51.8 kB / 0.5222 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.3528, allocations: 125.4 kB / 0.5223 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.353, allocations: 101.3 kB / 0.5224 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.3531, allocations: 7.422 kB / 0.5224 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.3532, allocations: 42.11 kB / 0.5225 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3533, allocations: 39.11 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3533, allocations: 3.938 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3535, allocations: 66.97 kB / 0.5226 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3535, allocations: 23.17 kB / 0.5226 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3536, allocations: 28.97 kB / 0.5226 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.3538, allocations: 121.9 kB / 0.5227 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3538, allocations: 1.922 kB / 0.5227 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3538, allocations: 0 / 0.5227 GB, free: 1.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3538, allocations: 0 / 0.5227 GB, free: 1.082 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.0004153/0.3542, allocations: 404.2 kB / 0.5231 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3543, allocations: 14.84 kB / 0.5231 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3543, allocations: 7.828 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3545, allocations: 210 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3545, allocations: 1.531 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3546, allocations: 7.297 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3547, allocations: 70.25 kB / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3547, allocations: 0 / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3548, allocations: 5.766 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3548, allocations: 1.188 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.3548, allocations: 21.52 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.3551, allocations: 284.2 kB / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3553, allocations: 52.38 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.3553, allocations: 23.56 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.3553, allocations: 1.703 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.3555, allocations: 74.83 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3555, allocations: 0 / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005087/0.356, allocations: 178.8 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3561, allocations: 78.75 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3562, allocations: 150 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3562, allocations: 31.11 kB / 0.5243 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.3563, allocations: 93.97 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3563, allocations: 30.42 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.3564, allocations: 22.81 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3565, allocations: 325 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.3566, allocations: 21.03 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.3566, allocations: 41.36 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3567, allocations: 70.94 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3568, allocations: 0 / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.3569, allocations: 100.1 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3569, allocations: 9.891 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.357, allocations: 1.906 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.357, allocations: 0 / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.3571, allocations: 14.86 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3571, allocations: 2.391 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.3571, allocations: 10.42 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3571, allocations: 4.328 kB / 0.525 GB, free: 15.04 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 9.248e-05/0.3572, allocations: 120.5 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3573, allocations: 13.81 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3573, allocations: 13.95 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3573, allocations: 0 / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3573, allocations: 1.781 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3573, allocations: 4.547 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.3577, allocations: 393.7 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3578, allocations: 4.031 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.3578, allocations: 14.39 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3578, allocations: 0 / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3578, allocations: 4.547 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3578, allocations: 3.75 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3578, allocations: 0 / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3581, allocations: 203.4 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.3581, allocations: 86.08 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3581, allocations: 4.641 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.3582, allocations: 7.781 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.3583, allocations: 6.062 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3583, allocations: 3.375 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3584, allocations: 120.2 kB / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3584, allocations: 0 / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3587, allocations: 34.34 kB / 0.526 GB, free: 14.15 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.00105/0.3597, allocations: 0.4984 MB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3599, allocations: 56.62 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3599, allocations: 0 / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.36, allocations: 28.12 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3603, allocations: 35.08 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.3607, allocations: 194.5 kB / 0.5268 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3609, allocations: 0.6962 MB / 0.5274 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.361, allocations: 17.81 kB / 0.5275 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.361, allocations: 24.14 kB / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.361, allocations: 0 / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Templates: time 0.004306/0.3654, allocations: 1.974 MB / 0.5294 GB, free: 12.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches