Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 113.8 kB / 17.78 MB, free: 5.289 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.001523/0.001523, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.51/1.51, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2415/0.2415, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5174, allocations: 60.83 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004564/0.522, allocations: 1.707 MB / 0.5207 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.5243, allocations: 0.8763 MB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.5244, allocations: 1 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.5249, allocations: 49.47 kB / 0.5216 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.5253, allocations: 55.55 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.5257, allocations: 113.5 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.526, allocations: 99.23 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.5261, allocations: 8.844 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.5263, allocations: 41.36 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.5264, allocations: 33.45 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.5264, allocations: 3.906 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.5266, allocations: 43.03 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.5267, allocations: 24.33 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.5268, allocations: 45.95 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.5271, allocations: 116.5 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5271, allocations: 0.75 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5271, allocations: 1.375 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.5271, allocations: 0 / 0.5221 GB, free: 1.547 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.0006751/0.5278, allocations: 429.2 kB / 0.5225 GB, free: 1.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5279, allocations: 8.875 kB / 0.5225 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.5279, allocations: 14.25 kB / 0.5226 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.5283, allocations: 212.8 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.5283, allocations: 2.172 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.5283, allocations: 6.125 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.5285, allocations: 54.7 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5285, allocations: 3.938 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.5286, allocations: 1.094 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5286, allocations: 5.188 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.5287, allocations: 18.47 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.5291, allocations: 297.3 kB / 0.5231 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.5293, allocations: 56.36 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.5294, allocations: 20.05 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.5295, allocations: 9.156 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.5296, allocations: 61.78 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.5296, allocations: 0 / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008022/0.5305, allocations: 177.8 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5305, allocations: 57.16 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.531, allocations: 219.5 kB / 0.5237 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.531, allocations: 30.27 kB / 0.5237 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5311, allocations: 111 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.5312, allocations: 16.42 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.5313, allocations: 26.42 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.5315, allocations: 331.4 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.5316, allocations: 21.53 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.5317, allocations: 35.89 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.5319, allocations: 65.97 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5319, allocations: 0 / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002331/0.5321, allocations: 104.9 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5322, allocations: 6.062 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.5322, allocations: 1.406 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5322, allocations: 1.219 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5324, allocations: 18.89 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5324, allocations: 1.5 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.5324, allocations: 24.09 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.5325, allocations: 1.562 kB / 0.5245 GB, free: 15.5 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.0001398/0.5326, allocations: 131.4 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.5326, allocations: 18.91 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.5327, allocations: 21.48 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.5327, allocations: 0 / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5327, allocations: 0.5156 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5328, allocations: 5.688 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.5334, allocations: 397.9 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5334, allocations: 0.6562 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.5334, allocations: 12.64 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5334, allocations: 1.781 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5335, allocations: 6.453 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5335, allocations: 0 / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5335, allocations: 2.5 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.5338, allocations: 208.3 kB / 0.5252 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.5339, allocations: 85.22 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.5339, allocations: 6.406 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.534, allocations: 2.562 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.534, allocations: 10.52 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.5341, allocations: 4.938 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.5343, allocations: 174.4 kB / 0.5255 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5343, allocations: 4 kB / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.5346, allocations: 23.25 kB / 0.5255 GB, free: 14.59 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.001356/0.536, allocations: 459.7 kB / 0.526 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.5363, allocations: 68.39 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5363, allocations: 0 / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.5364, allocations: 28.66 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.5368, allocations: 27.36 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/0.5375, allocations: 256.5 kB / 0.5263 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.538, allocations: 0.7144 MB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.5381, allocations: 16.7 kB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.5381, allocations: 24.53 kB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5381, allocations: 0 / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.00603/0.5442, allocations: 1.727 MB / 0.5288 GB, free: 12.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches