Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001892/0.001892, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.626/1.626, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2266/0.2266, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4886, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003612/0.4922, allocations: 1.715 MB / 0.5207 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.4939, allocations: 0.8725 MB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.494, allocations: 1.312 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.4944, allocations: 50.12 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.4947, allocations: 65.09 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.4951, allocations: 109.1 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4953, allocations: 99.3 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.4954, allocations: 12.23 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.4956, allocations: 41.56 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.4957, allocations: 30.62 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.4957, allocations: 3.031 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.4958, allocations: 50.78 kB / 0.5219 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.4959, allocations: 27.77 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.496, allocations: 38.17 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.4963, allocations: 129 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4963, allocations: 1.219 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4963, allocations: 0 / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4963, allocations: 0 / 0.5221 GB, free: 1.516 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.0005705/0.4969, allocations: 442.7 kB / 0.5226 GB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.497, allocations: 9.188 kB / 0.5226 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.497, allocations: 15.03 kB / 0.5226 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.4973, allocations: 222.3 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4973, allocations: 2.266 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.4973, allocations: 6.219 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4975, allocations: 55.03 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4975, allocations: 0 / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4975, allocations: 0.6562 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4975, allocations: 1.062 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.4976, allocations: 22.03 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.498, allocations: 301.5 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.4982, allocations: 57.45 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.4982, allocations: 18.78 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4983, allocations: 1.891 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.4984, allocations: 74.14 kB / 0.5233 GB, free: 408 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4984, allocations: 0 / 0.5233 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.499, allocations: 183.1 kB / 0.5235 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.499, allocations: 57.48 kB / 0.5235 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.4993, allocations: 257.2 kB / 0.5238 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4993, allocations: 31.48 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4994, allocations: 115.1 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4994, allocations: 29.45 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.4995, allocations: 22.25 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4996, allocations: 332.6 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.4997, allocations: 17.78 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.4998, allocations: 39.47 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.4999, allocations: 61.95 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5, allocations: 4.375 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.5002, allocations: 103.4 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5002, allocations: 8.344 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5002, allocations: 0 / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5002, allocations: 9.719 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5003, allocations: 19.36 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5003, allocations: 1.844 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.5004, allocations: 6.359 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.5004, allocations: 3.062 kB / 0.5246 GB, free: 15.44 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.0001349/0.5006, allocations: 137 kB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5006, allocations: 15.66 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.5007, allocations: 23.22 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5007, allocations: 2.172 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5007, allocations: 0 / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.5007, allocations: 4.547 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.5012, allocations: 402 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5012, allocations: 4.031 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.5013, allocations: 14.38 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5013, allocations: 0.6094 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5013, allocations: 6.203 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5013, allocations: 1.844 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5013, allocations: 0.75 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.5015, allocations: 201.7 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.5016, allocations: 94.02 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.5016, allocations: 6.391 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.5017, allocations: 7.047 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.5018, allocations: 8.734 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.5018, allocations: 4.656 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.502, allocations: 204.5 kB / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.434e-06/0.502, allocations: 0 / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.5023, allocations: 33.12 kB / 0.5257 GB, free: 14.51 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.001032/0.5033, allocations: 466.9 kB / 0.5261 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.5035, allocations: 58.75 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5035, allocations: 1.375 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.5036, allocations: 27.94 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.504, allocations: 33.91 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.5045, allocations: 272.7 kB / 0.5265 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.5048, allocations: 0.7233 MB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.821e-05/0.5049, allocations: 17.61 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.5049, allocations: 15.53 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5049, allocations: 3.938 kB / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.005246/0.5102, allocations: 1.787 MB / 0.529 GB, free: 12.72 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches