Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 109.6 kB / 18.45 MB, free: 4.609 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.001035/0.001035, allocations: 186.2 kB / 19.38 MB, free: 3.688 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.337/1.337, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2139/0.2139, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 64.14 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3862, allocations: 60.81 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003192/0.3894, allocations: 1.715 MB / 0.5213 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3914, allocations: 1.481 MB / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.3915, allocations: 0.9688 kB / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.3918, allocations: 36.14 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.3921, allocations: 59.45 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.3924, allocations: 113.2 kB / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3926, allocations: 100.6 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.3927, allocations: 8.25 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.519e-05/0.3928, allocations: 46.27 kB / 0.5231 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.393, allocations: 39.55 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.393, allocations: 3.75 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3932, allocations: 63.62 kB / 0.5232 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.3932, allocations: 14.25 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.3933, allocations: 34.64 kB / 0.5233 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3935, allocations: 125.2 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3935, allocations: 1.125 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3935, allocations: 0 / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3935, 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.0004871/0.394, allocations: 398.3 kB / 0.5238 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3941, allocations: 13.12 kB / 0.5238 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.3941, allocations: 9.797 kB / 0.5238 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3944, allocations: 201.7 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3944, allocations: 2.562 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3945, allocations: 13.56 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3946, allocations: 66.86 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3946, allocations: 1.031 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3947, allocations: 4.5 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3947, allocations: 1.062 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.178e-05/0.3948, allocations: 22.41 kB / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.3951, allocations: 288.5 kB / 0.5244 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.3952, allocations: 56.48 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.3953, allocations: 20.16 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3953, allocations: 1.781 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.3955, allocations: 73.34 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3955, allocations: 0 / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005443/0.3961, allocations: 168.5 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3961, allocations: 78.83 kB / 0.5247 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.3963, allocations: 153.1 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3964, allocations: 30.67 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.3964, allocations: 93.67 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3965, allocations: 25.47 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3965, allocations: 26.19 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3967, allocations: 325.9 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.3967, allocations: 20.92 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/0.3968, allocations: 45.47 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3969, allocations: 66.17 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3969, allocations: 0 / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.3971, allocations: 100.7 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3972, allocations: 10.28 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3972, allocations: 0 / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3972, allocations: 5.984 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.3973, allocations: 15.41 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3973, allocations: 1.656 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.3973, allocations: 10.25 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3974, allocations: 2.953 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 0.0001047/0.3975, allocations: 124.5 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3975, allocations: 10.97 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.3976, allocations: 12.8 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3976, allocations: 2.109 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3976, allocations: 0 / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3976, allocations: 4.453 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.398, allocations: 393.3 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3981, allocations: 0 / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.3981, allocations: 16.94 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3981, allocations: 1.25 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3981, allocations: 5.859 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3981, allocations: 1.062 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3981, allocations: 1.969 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3984, allocations: 196 kB / 0.5264 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3984, allocations: 83.47 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.3985, allocations: 16.02 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.3986, allocations: 3.234 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3986, allocations: 5.906 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3986, allocations: 4.203 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.712e-05/0.3987, allocations: 118.6 kB / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3987, allocations: 0 / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.399, allocations: 31.73 kB / 0.5266 GB, free: 14.16 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.001142/0.4002, allocations: 0.5073 MB / 0.5271 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.4004, allocations: 64.73 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4004, allocations: 5.375 kB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.4004, allocations: 23.88 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.0003467/0.4008, allocations: 33.75 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.0004616/0.4013, allocations: 222.1 kB / 0.5274 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.4016, allocations: 0.6996 MB / 0.5281 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.4016, allocations: 23.44 kB / 0.5282 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4016, allocations: 0 / 0.5282 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004583/0.4062, allocations: 2.059 MB / 0.5302 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches