Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 112.7 kB / 18.45 MB, free: 4.617 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.001023/0.001023, allocations: 185.2 kB / 19.38 MB, free: 3.695 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.336/1.336, allocations: 222.9 MB / 243.1 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.1967/0.1967, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4055, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002959/0.4085, allocations: 1.677 MB / 0.5213 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.4099, allocations: 0.8552 MB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.41, allocations: 0 / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.4103, allocations: 55.05 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.4106, allocations: 56.56 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.4108, allocations: 106.6 kB / 0.5223 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.411, allocations: 85.48 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.4111, allocations: 8.109 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.563e-05/0.4112, allocations: 50.14 kB / 0.5224 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.4113, allocations: 24.58 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.4113, allocations: 2.25 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.4114, allocations: 31.55 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.4115, allocations: 27.66 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.4115, allocations: 37.16 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.4118, allocations: 117.7 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4118, allocations: 0 / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4118, allocations: 0 / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4118, allocations: 5.375 kB / 0.5227 GB, free: 1.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000533/0.4123, allocations: 431.5 kB / 0.5231 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4124, allocations: 7.688 kB / 0.5231 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.4124, allocations: 15.98 kB / 0.5231 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.4127, allocations: 213.6 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4127, allocations: 6.281 kB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.4128, allocations: 5.406 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4129, allocations: 46.42 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4129, allocations: 4.516 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4129, allocations: 0 / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.413, allocations: 0.9688 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.413, allocations: 19.19 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.4132, allocations: 193.7 kB / 0.5236 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.4134, allocations: 49.48 kB / 0.5236 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.4135, allocations: 27.14 kB / 0.5237 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4135, allocations: 1.312 kB / 0.5237 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.4136, allocations: 69.62 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.915e-06/0.4136, allocations: 3.984 kB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002847/0.4139, allocations: 96.94 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.414, allocations: 53.11 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.4142, allocations: 265.4 kB / 0.5241 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4142, allocations: 26.8 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.4143, allocations: 111.3 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.4143, allocations: 11.09 kB / 0.5243 GB, free: 164 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.4144, allocations: 24.64 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4145, allocations: 324.4 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.4146, allocations: 17.11 kB / 0.5246 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.4146, allocations: 35.28 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/0.4147, allocations: 41.61 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4147, allocations: 0 / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001663/0.4149, allocations: 93.75 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4149, allocations: 6.516 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4149, allocations: 160 / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.415, allocations: 1.438 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.4151, allocations: 10.25 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4151, allocations: 9.859 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.4151, allocations: 3.312 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4151, allocations: 1.312 kB / 0.5248 GB, free: 15.69 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 (7): * Single equations (assignments): 7 * 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.000112/0.4153, allocations: 140.6 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4153, allocations: 14.66 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.4153, allocations: 18.34 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4154, allocations: 1.125 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4154, allocations: 320 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4154, allocations: 1.625 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.4156, allocations: 200.5 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4156, allocations: 5.031 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.4156, allocations: 3.703 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4156, allocations: 0.6875 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4156, allocations: 1.969 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4157, allocations: 0.5156 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4157, allocations: 0.9688 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.4159, allocations: 114.1 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.4159, allocations: 92.91 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.416, allocations: 1.875 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.173e-05/0.416, allocations: 7.156 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.4161, allocations: 3.5 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4161, allocations: 2.672 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.4163, allocations: 200.3 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4163, allocations: 0 / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.4165, allocations: 18.25 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001011/0.4175, allocations: 426.8 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.4177, allocations: 39.91 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4177, allocations: 0 / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.4178, allocations: 22.77 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4181, allocations: 30.03 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.4187, allocations: 276.7 kB / 0.5264 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.419, allocations: 0.7198 MB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.419, allocations: 14.97 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.419, allocations: 0 / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Templates: time 0.004206/0.4232, allocations: 1.847 MB / 0.5289 GB, free: 13.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches