Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001152, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001233/0.001233, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2181/0.2181, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4022, allocations: 60.82 MB / 0.519 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003045/0.4053, allocations: 1.924 MB / 0.5208 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.4066, allocations: 0.9204 MB / 0.5217 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.4067, allocations: 5.281 kB / 0.5217 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.4071, allocations: 42.33 kB / 0.5218 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.4073, allocations: 58.72 kB / 0.5218 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.4076, allocations: 131 kB / 0.522 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.4078, allocations: 138.2 kB / 0.5221 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.408, allocations: 28.95 kB / 0.5221 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.4081, allocations: 57.16 kB / 0.5222 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.4081, allocations: 47.56 kB / 0.5222 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.4082, allocations: 6.938 kB / 0.5222 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4083, allocations: 45.73 kB / 0.5223 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.4084, allocations: 26.66 kB / 0.5223 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.4084, allocations: 55.2 kB / 0.5224 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.4087, allocations: 145.7 kB / 0.5225 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4087, allocations: 4.875 kB / 0.5225 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4087, allocations: 0 / 0.5225 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.4087, allocations: 1.062 kB / 0.5225 GB, free: 1.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005809/0.4093, allocations: 478.1 kB / 0.523 GB, free: 1.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.4094, allocations: 9.094 kB / 0.523 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.4094, allocations: 16.12 kB / 0.523 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.4097, allocations: 236.3 kB / 0.5232 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4097, allocations: 15.16 kB / 0.5232 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.4097, allocations: 10.39 kB / 0.5232 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.41, allocations: 108.6 kB / 0.5233 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.41, allocations: 1.031 kB / 0.5233 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.41, allocations: 1.656 kB / 0.5233 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.41, allocations: 2.438 kB / 0.5233 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.4102, allocations: 50.61 kB / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.4107, allocations: 0.5005 MB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.411, allocations: 98.33 kB / 0.524 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.4111, allocations: 41.72 kB / 0.524 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4112, allocations: 0.9688 kB / 0.524 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.4114, allocations: 82.52 kB / 0.5241 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4114, allocations: 0 / 0.5241 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004135/0.4118, allocations: 142.7 kB / 0.5242 GB, free: 16 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.4119, allocations: 61.2 kB / 0.5243 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4121, allocations: 188.2 kB / 0.5245 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4121, allocations: 27.14 kB / 0.5245 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.4122, allocations: 114.1 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.4123, allocations: 28.05 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.4123, allocations: 27.28 kB / 0.5247 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4125, allocations: 328.1 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.4126, allocations: 37.55 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.4127, allocations: 58.25 kB / 0.5251 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4129, allocations: 100.6 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4129, allocations: 0.5625 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002775/0.4132, allocations: 138.6 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4132, allocations: 4.719 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4132, allocations: 1.281 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4133, allocations: 2.031 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.4134, allocations: 34.7 kB / 0.5253 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4134, allocations: 1.469 kB / 0.5253 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.4135, allocations: 19.12 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4135, allocations: 4.906 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001038/0.4136, allocations: 127.7 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4136, allocations: 16.2 kB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.4137, allocations: 14.89 kB / 0.5255 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4137, allocations: 5.938 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4137, allocations: 8.703 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4137, allocations: 0 / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.4139, allocations: 213.8 kB / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4139, allocations: 0 / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.414, allocations: 12.58 kB / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.414, allocations: 1.469 kB / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.414, allocations: 2.344 kB / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.414, allocations: 3.938 kB / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.414, allocations: 0 / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.4144, allocations: 187.5 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.4145, allocations: 88.94 kB / 0.526 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4145, allocations: 2.125 kB / 0.526 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.4146, allocations: 10.66 kB / 0.526 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4146, allocations: 12.5 kB / 0.526 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4146, allocations: 4.484 kB / 0.526 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4148, allocations: 138.7 kB / 0.5262 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4148, allocations: 4.062 kB / 0.5262 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.415, allocations: 28.91 kB / 0.5262 GB, free: 14.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008794/0.4159, allocations: 410.9 kB / 0.5266 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.4161, allocations: 85.19 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4161, allocations: 4 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4163, allocations: 35.02 kB / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.4166, allocations: 43.89 kB / 0.5267 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.4171, allocations: 254.1 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4174, allocations: 0.7141 MB / 0.5277 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.4174, allocations: 19.23 kB / 0.5277 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.4175, allocations: 21.58 kB / 0.5277 GB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4175, allocations: 0 / 0.5277 GB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.004637/0.4221, allocations: 1.905 MB / 0.5296 GB, free: 12.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches