Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001872/0.001873, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.451/1.451, 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.3259/0.3259, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.84 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4156, allocations: 60.82 MB / 0.519 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003088/0.4187, allocations: 1.714 MB / 0.5207 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.4201, allocations: 0.8715 MB / 0.5215 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.4202, allocations: 5.094 kB / 0.5215 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.4206, allocations: 39.83 kB / 0.5215 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.4208, allocations: 55.84 kB / 0.5216 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.4212, allocations: 108.9 kB / 0.5217 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.4214, allocations: 103.7 kB / 0.5218 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4215, allocations: 8.422 kB / 0.5218 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.4216, allocations: 41.81 kB / 0.5219 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.4217, allocations: 33.48 kB / 0.5219 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.4217, allocations: 4.219 kB / 0.5219 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4218, allocations: 43.16 kB / 0.5219 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.4219, allocations: 21.95 kB / 0.5219 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.4219, allocations: 33.14 kB / 0.522 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.4222, allocations: 112.9 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.4222, allocations: 1.625 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4222, allocations: 0 / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4222, allocations: 0 / 0.5221 GB, free: 1.789 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.0005368/0.4227, allocations: 409.5 kB / 0.5225 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4228, allocations: 10.53 kB / 0.5225 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.4228, allocations: 9.406 kB / 0.5225 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.4231, allocations: 214.7 kB / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4231, allocations: 2.406 kB / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4231, allocations: 6.109 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4233, allocations: 53.7 kB / 0.5228 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4233, allocations: 4.469 kB / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4233, allocations: 1.5 kB / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4233, allocations: 0 / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.4234, allocations: 26.23 kB / 0.5228 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.4237, allocations: 291.1 kB / 0.5231 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.4239, allocations: 52.78 kB / 0.5231 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.424, allocations: 19.84 kB / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.424, allocations: 0.9375 kB / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.4241, allocations: 74.72 kB / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4241, allocations: 0 / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.4247, allocations: 183.9 kB / 0.5234 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.4248, allocations: 57.06 kB / 0.5234 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.4249, allocations: 182.8 kB / 0.5236 GB, free: 424 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.425, allocations: 30.98 kB / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.425, allocations: 99.03 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.425, allocations: 25.08 kB / 0.5238 GB, free: 272 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.4251, allocations: 27.27 kB / 0.5238 GB, free: 248 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4252, allocations: 329.4 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.4253, allocations: 17.8 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.4254, allocations: 39.64 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4255, allocations: 60.92 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4255, allocations: 1.031 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.4257, allocations: 100.4 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4257, allocations: 6.094 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4257, allocations: 1.062 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4258, allocations: 1.219 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.4259, allocations: 15.53 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4259, allocations: 0.7031 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.4259, allocations: 16.06 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.426, allocations: 2.375 kB / 0.5244 GB, free: 15.77 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.0001222/0.4261, allocations: 125 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4261, allocations: 17.89 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.4262, allocations: 16.23 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.4262, allocations: 0 / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4262, allocations: 2.438 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4262, allocations: 4.5 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.4267, allocations: 388.3 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4267, allocations: 3.531 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.4267, allocations: 19.33 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4267, allocations: 0 / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.4268, allocations: 10.59 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4268, allocations: 2.828 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4268, allocations: 0 / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.427, allocations: 200.7 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4271, allocations: 90.36 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.4272, allocations: 8.734 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.4272, allocations: 2.516 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.4273, allocations: 6.641 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4273, allocations: 6.984 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.4274, allocations: 148.6 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4275, allocations: 0 / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.4277, allocations: 21.58 kB / 0.5254 GB, free: 14.89 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.001241/0.429, allocations: 479.9 kB / 0.5258 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.4292, allocations: 60.33 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4292, allocations: 0 / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.4293, allocations: 25.09 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.4297, allocations: 31.06 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.4301, allocations: 214.4 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.4306, allocations: 0.7043 MB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.59e-05/0.4306, allocations: 22.17 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.4307, allocations: 19.16 kB / 0.5269 GB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4307, allocations: 2.031 kB / 0.5269 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Templates: time 0.005337/0.436, allocations: 1.704 MB / 0.5285 GB, free: 13.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches