Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") 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: 105.3 kB / 18.45 MB, free: 4.625 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.0009979/0.0009979, allocations: 181.1 kB / 19.37 MB, free: 3.707 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2153/0.2153, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4083, allocations: 60.83 MB / 0.5197 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002979/0.4114, allocations: 1.711 MB / 0.5213 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.4134, allocations: 1.485 MB / 0.5228 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.4135, allocations: 1.062 kB / 0.5228 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.4138, allocations: 36.16 kB / 0.5228 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.414, allocations: 56.3 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.4143, allocations: 116.8 kB / 0.523 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.4145, allocations: 96.5 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.4146, allocations: 7.797 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.4147, allocations: 45.55 kB / 0.5231 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.4149, allocations: 40.12 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.4149, allocations: 4.531 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.415, allocations: 62.83 kB / 0.5232 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.4151, allocations: 18.69 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.4151, allocations: 29.91 kB / 0.5233 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.4154, allocations: 125.9 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4154, allocations: 0 / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4154, allocations: 1 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4154, allocations: 0 / 0.5234 GB, free: 1.066 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.0004927/0.4159, allocations: 403.1 kB / 0.5238 GB, free: 0.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.416, allocations: 8.906 kB / 0.5238 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.416, allocations: 10.47 kB / 0.5238 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4163, allocations: 204 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4163, allocations: 6.656 kB / 0.524 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.4163, allocations: 7.031 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4165, allocations: 70.41 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4165, allocations: 0 / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4165, allocations: 5.156 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4165, allocations: 1.125 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.4166, allocations: 18.56 kB / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.4169, allocations: 283.6 kB / 0.5244 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.4171, allocations: 60.61 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.4172, allocations: 19.77 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4172, allocations: 1.469 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.4174, allocations: 73.69 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4174, allocations: 0 / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005848/0.418, allocations: 167.7 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4181, allocations: 78.67 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4183, allocations: 158.2 kB / 0.5249 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4183, allocations: 26.7 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.4184, allocations: 94.14 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.4184, allocations: 29.73 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.4185, allocations: 22.53 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4186, allocations: 328.9 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.4187, allocations: 18.02 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.4188, allocations: 45.61 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.4189, allocations: 66.53 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4189, allocations: 0 / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.4191, allocations: 104.1 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4191, allocations: 6.031 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4191, allocations: 0.6094 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4191, allocations: 1.469 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.4192, allocations: 19.12 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4193, allocations: 1.438 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.4193, allocations: 11.5 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4193, allocations: 2.406 kB / 0.5256 GB, free: 15.03 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.844e-05/0.4194, allocations: 129.2 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4195, allocations: 9.406 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.4195, allocations: 13.64 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4195, allocations: 1.312 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4195, allocations: 0.75 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4195, allocations: 3.938 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.42, allocations: 393.8 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.42, allocations: 0.7969 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.4201, allocations: 8.031 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4201, allocations: 1.969 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4201, allocations: 7.062 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4201, allocations: 0 / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4201, allocations: 0 / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.4203, allocations: 204.8 kB / 0.5264 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.4204, allocations: 89.88 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.4204, allocations: 10.38 kB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.4205, allocations: 6.547 kB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.4206, allocations: 6.062 kB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.4206, allocations: 3.375 kB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.4207, allocations: 115.6 kB / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4207, allocations: 0 / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.421, allocations: 35.62 kB / 0.5266 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.001161/0.4221, allocations: 0.4974 MB / 0.5271 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4223, allocations: 60.55 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4224, allocations: 0 / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.4224, allocations: 28.72 kB / 0.5272 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.0003329/0.4228, allocations: 34.73 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.4232, allocations: 225.9 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.4236, allocations: 0.6962 MB / 0.5281 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.4236, allocations: 18.62 kB / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4236, allocations: 0 / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004666/0.4283, allocations: 2.056 MB / 0.5302 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches